View Single Post
03-07-2007, 03:59 PM
#8
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Try this:

Also, make sure that index.php?pageid=2 actually goes to where it's needed, because I tried going there only to get your homepage.
Code:
Options -Indexes

RewriteEngine on

RewriteRule ^links.html$ index.php?action=links [L]
RewriteRule ^contact.html$ index.php?pageid=2 [L]
RewriteRule ^advertise.html$ 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]