Re: Search Engine Friendly Url using mod_rewrite

From: Date: Fri, 23 May 2003 15:19:56 +0000
Subject: Re: Search Engine Friendly Url using mod_rewrite
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148783@lists.php.net to get a copy of this message
On Fri, 23 May 2003 17:34:33 +0930, Joseph Blythe wrote: >http://index.php?id=1 > >to: > >http://index.html/id/1 Errrr... not a php question (so we will probably both be punished, but....), I think this will do what you want: RewriteEngine on RewriteRule index.html/id/([0-9]+) index.php?id=$1 I'm using this type of functionality on one of my pages.

« previous php.general (#148783) next »