RE: [PHP] URL modification
| From: | Andrés Robinet | Date: | Mon, 25 Feb 2008 16:43:52 +0000 |
| Subject: | RE: [PHP] URL modification | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270063@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Daniel Brown [mailto:parasane@gmail.com]
> Sent: Monday, February 25, 2008 11:37 AM
> To: richardh@phpguru.org
> Cc: nrixham@gmail.com; php-general@lists.php.net
> Subject: Re: [PHP] URL modification
>
> On Sat, Feb 23, 2008 at 6:27 AM, Richard Heyes <richardh@phpguru.org>
> wrote:
> > You could also forego the <Files> bit if you're willing to accept URLs
> > like this:
> >
> > /rental.php/property/23425
>
> I was waiting to see if anyone made mention of that while reading
> through the thread. I think this is a highly underused built-in
> feature. PHP is already, out-of-the-box, ready for
> search-engine-friendly URLs.
>
> --
> </Dan>
>
> Daniel P. Brown
> Senior Unix Geek
> <? while(1) { $me = $mind--; sleep(86400); } ?>
Yeap, PHP rocks! I mentioned it in the first reply, only that it was not
rental.php, but index.php. Many if not all MVC frameworks support this kind of
routing which doesn't require mod_rewrite.
However, I prefer mod_rewrite if it's available, for crawlers it is not the same
/index.php/my-keywrod than /my-keyword alone. But I must admit that there are a
hundred other factors that can have much more weight for generating SEO problems
than having index.php everywhere.
Regards,
Rob
Andrés Robinet | Lead Developer | BESTPLACE CORPORATION
5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 |
TEL 954-607-4207 | FAX 954-337-2695 |
Email: info@bestplace.net | MSN Chat: best@bestplace.net | SKYPE: bestplace |
Web: bestplace.biz | Web: seo-diy.com