RE: [PHP] URL rewriting.
| From: | Matthias Endler | Date: | Mon, 23 Oct 2000 13:29:48 +0000 |
| Subject: | RE: [PHP] URL rewriting. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21792@lists.php.net to get a copy of this message | ||
Hi Jeff,
> I want to increase the visibility of my site on search
> engines but representing urls like
>
> http://www.foo.com/narf.php/uid/10034
>
> instead of
>
> http://www.foo.com/narf.php?uid=10034
>
> does php have any settings for this , or should i use
> apache mod_rewrite, and if so does anyone in this list
> have any experience with mod_rewrite where they could
> help meout..
do this with Apache's mod_rewrite. First it'll be hard to understand how to
configure mod_rewrite, but once you've got the idea how it works, you can
really do magic with it.
Documentation can be found here:
http://www.apache.org/docs/mod/mod_rewrite.html
Cheers,
Matthias