Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] .htaccess mod_rewrite Re: [Solved] .htaccess mod_rewrite

#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]