Problema rescriere link
Scris: Joi Mar 20, 2014
Salut.
Am o problema cu rescrierea linkurilor .
Cand vreau sa rescriu :
sub forma
numa numi merge .
Acesta ii htaccesul meu :
Unde am gresit oare ??
Am o problema cu rescrierea linkurilor .
Cand vreau sa rescriu :
Cod: Selectaţi tot
http://siteu.ro/categorie.php?lang=eng
Cod: Selectaţi tot
http://silvoproject.ro/eng/category
Acesta ii htaccesul meu :
Cod: Selectaţi tot
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^sitemap.xml sitemap.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^$ index.php [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*?)$ index.php?lang=$1 [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^category$ categorie.php [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*?)/category$ categorie.php?lang=$1 [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^category/(.*?)/(.*?)-(.*?)\.html$ categorie.php?lang=$1&id=$2&nume=$3 [NC,L]
<IfModule mod_rewrite.c>
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.silvoproject.ro [NC]
RewriteRule ^(.*)$ http://silvoproject.ro/$1 [L,R=301]
</IfModule>