Can you tell me how to: I have a url pages.php?type=soccer&title=who-is-best I need it to be /soccer/who-is-best I will leave you rep for the help
RewriteEngine On RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [L] RewriteRule ^(.*)/(.*)$ pages.php?type=$1&title=$2 [L] Code (markup):
Hmmm...Psychotomus1 sent me a PM asking for da exact same code!! You sure you two arn't da same humanoids..or are you two major competitors, hince da URGENCY!! er, he beat you to da code, by almost two hours!!! Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^([^.]+)/([^.]+)$ pages.php?type=$1&title=$2 [L] If you have any real directories, it might mess stuff up that's in them.
He is my coder, I posted here to find help....I wasnt sure who he asked or when.... My site , so I was urgent Thanks for the help NINTENDO YOU ROCK!!!! 2 SLICK YOU ROCK!!!!