Originally Posted by ee13
No that doesn't work neether.
Thanks anyway.
|
ehm, I just noticed an error, it might not work as wekk since I'm not genius at regex but try the following
Code:
Options -Indexes
RewriteEngine on
RewriteRule ^games/links\.html$ /games/index.php?action=links [L]
RewriteRule ^games/contact\.html$ /games/index.php?pageid=2 [L]
RewriteRule ^games/advertise\.html$ /games/index.php?pageid=1 [L]
RewriteRule ^search-results/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=browse&searchid=$1
RewriteRule ^search-results/([^/.]*)/?/([0-9]+)-([0-9]+)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=browse&searchid=$1&page=$2&limit=$3
RewriteRule ^categories/([0-9]+)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=browse&cat=$1
RewriteRule ^categories/([0-9]+)/?/([0-9]+)-([0-9]+)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=browse&cat=$1&page=$2&limit=$3
RewriteRule ^archive/([0-9]+)-([0-9]+)/?$ index.php?page=$1&limit=$2
RewriteRule ^news/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=displaynews&id=$1
RewriteRule ^search/([_A-Za-z0-9-]+)/([0-9]+)/?$ index.php?action=browse&searchterm=$1&page=$2
RewriteRule ^content/([0-9]+)/([_A-Za-z0-9-]+)/?$ viewgame.php?gameid=$1&code=$2
RewriteRule ^profiles/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=profile&userid=$1
RewriteRule ^categories/([_A-Za-z0-9-]+)/?$ index.php?action=browse&catname=$1
RewriteRule ^games/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1
RewriteRule ^games/([_A-Za-z0-9-]+)/?$ index.php?action=playgame&title=$1 [L]
the \ before .html was missing
let me know if it works
you might want to try those liness without all the rest of the htaccess, just to test if they work, it seems several backslashes are missing...