News Feed
Sections




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

Asvin Balloo's Blog:
SEO friendly URL in PHP
July 24, 2008 @ 11:14:40

Asvin Balloo has posted a quick look at making the URLs of your website a bit more "pretty" and SEO-friendly.

When I started implementing mod_rewrite in websites I had a problem in PHP as how to make a SEO friendly URL. All tutorials were geared towards how to implement mod_rewrite, about modifying .htaccess files, but none treated how to make the urls friendly with dynamic content.

He shares a function that he found that helped him a great deal - a method called friendlyURL. It changes a bit of text into a more friendly version of itself ("this is a test" becomes "this-is-a-test") that can be used in anything you'd want. An example could be in automatically generating links to other pages on your site that search engines can easily follow.

0 comments voice your opinion now!
seo friendly url function parse search engine


blog comments powered by Disqus

Similar Posts

Alex Netkachov's Blog: Programmatically adding PHP script engine to IIS 5.1 metabase ScriptMaps

SpinDrop.us: Using Zend Search Lucene in a symfony app

Ilia Alshanetsky's Blog: Filter Extension Revamped (and PHP 5.2 news)

Tnx.nl: PHP in Contrast to Perl

IBM developerWorks: Use the YouTube API with PHP


Community Events





Don't see your event here?
Let us know!


conference series laravel interview artisanfiles framework community security release opinion composer library podcast symfony language list introduction voicesoftheelephpant tool version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework