Re: How can I make clean URL site with PHP?
| From: | Robert Cummings | Date: | Thu, 20 Sep 2007 14:24:18 +0000 |
| Subject: | Re: How can I make clean URL site with PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262297@lists.php.net to get a copy of this message | ||
On Thu, 2007-09-20 at 23:12 +0900, js wrote:
> Hi.
>
> I like clean URL site like http://del.icio.us/someone/tag
> (del.icio.us is powered by PHP, right?)
>
> But I have no idea how can I do it with PHP.
> Is this a just apache's rewrite magic? or another different technique?
Apache rewrite magic can do some, but it's messy and painful. A more
likely example is to use a PHP enabled 404 handler page to check the URL
requested and lookup/calculate the appropriate real page to be
presented.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................