Re: URL Rewrite not working for me

From: Date: Fri, 25 Jul 2008 12:03:16 +0000
Subject: Re: URL Rewrite not working for me
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277301@lists.php.net to get a copy of this message
Hi!! For Internal redirection: RewriteRule profile/username/([^/]+) profile.php?username=$1 [PT] On Fri, Jul 25, 2008 at 3:00 AM, Don Don <progwihz@yahoo.com> wrote: > 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 > > -- http://www.kingzones.org/

« previous php.general (#277301) next »