Home › Forums › Back End › [Solved] .htaccess mod_rewrite › Re: [Solved] .htaccess mod_rewrite
March 13, 2013 at 4:01 pm
#128092
misterlae
Participant
Hie guys,
I’ve an issue with the mod_rewrite, is about remove the whole example.com/index.php?page=’home’ to example.com/page/home
i tried but stil with no success but only the index.php is gone there is my .htaccess look like:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?page=$1
RewriteRule ^(([^/]+/)*)index.php?$ http://www.example.com/$1 [R=301,L]