Re: URL modification

From: Date: Fri, 22 Feb 2008 17:08:58 +0000
Subject: Re: URL modification
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-269886@lists.php.net to get a copy of this message
+ rewrite is overkill for this, but long term it's worth implementing and getting used to - think of the post as a pre-emptive strike on the inevitable question in a couple of weeks: "how can i make /profile/adam instead of profile.php?user=adam"
Have a directory in your htdocs called /profile/adam and in that place a default document redirecting. Still no need for mod_rewrite. Unless of course you want the url to remain in the addressbar, but personally I don't think that is as important as what the user has to type in initially. -- Richard Heyes http://www.phpguru.org Free PHP and Javascript code

« previous php.general (#269886) next »