Hi,
How are the rules used in .htaccess to convert
this: www.example.com/example.php?x=games
in this: www.example.com/games/
Thanks.
cl4im3r wrote:Try this
Options +FollowSymLinks
RewriteEngine On
# Don't match existing files.
RewriteCond %{SCRIPT_FILENAME} !-f
# Don't match existing directories.
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/]+)/?$ /example.php?x=$1 [QSA,L]
Return to Friendly URLs with Mod_Rewrite
Users browsing this forum: No registered users and 103 guests