Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevArticles:
Making Your URLs a Cleaner Place
Apr 09, 2003 @ 12:42:18

Whether you're just getting started with a new site, or you're revamping an older site, one thing is clear - the search engines need to be able to see as much of the content on your pages as possible. To do this, things like "foo.php?test=1&this=2" need to be abolished, and need to be replaced with URLs like "foo/1/2/". In the dark about how to get this done? Well, DevArticles is here to show you how.

In one of their latest, Search Engine Friendly URLs with mod_rewrite, they step you through using the Apache mod_rewrite engine to create these cleaner URLs that can make things much easier for the spiders/search engine sites out there. It's a short piece since there's really not that much to do when creating these rules, but they give you some pretty good examples on how to get started with this powerful tool. You'll need to know some regular expression syntax to really get the benefit of this piece, but that can always be picked up over time.

tagged:

Link:


Trending Topics: