Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2045 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Other Programming Languages :

rewrite this url ?

Thread title: rewrite this url ?
Closed Thread    
    Thread tools Search this thread Display Modes  
03-07-2007, 03:59 PM
#1
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]

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed