نه توی صفحه index انجامش باید بدم مه هدایت میکنم ؟
- - - Updated - - -
با اینا هم تست زد urlencode & Decode
باز هم نشد
کد صفحه index اینه
کد PHP:
if(isset($_GET['url']))
{
print $url=trim($_GET['url']);exit();
$url=explode('/',$url);
if($url[0] == "Detail")
{
Single_Offer($url[4]);
}
}else{
require_once 'template/'.TEMPLATE.'index.php';
}
کد .httaccess هم
کد:
# set the default languag
DefaultLanguage fa-IR
# set the default character set
AddDefaultCharset UTF-8
<IFModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
</IfModule>