...

View Full Version : Mod Rewrite Question



stevan
03-11-2008, 02:56 AM
I have tried different combinations that I have read and can not get it to work Could someone please help me


Here is the Main Page

http://www..net/links/index.php want it to be

http://www..net/links

Here is the Category Page

http://www.net/links/travel.html I want it to be

http://www.net/links/travel

And if there is more than one page

http://www.net/links/travel/index2.html

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)-(.*)\.html$ index.php?cate=$1&page=$2 [L]

RewriteRule ^(.*)\.html$ index.php?cate=$1&page=1 [L]
#RewriteRule ^(.*)$ /$1/

Thxs Steve



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum