URL Rewrite not working for me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I've set up a url rewrite code below.  

Options +FollowSymLinks
RewriteEngine on

RewriteRule profile/username/(.*) profile.php?username=$1

It only works when I type in this url http://www.example.com/profiles/profile/username/baller/

If i do not then the normal url http://www.example.com/profiles/profile.php?username=baller is displayed.



I just want the new url to show when ever I trype in the old url.

Cheers




      

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux