29 May 2009

URL Rewriting

Static URLs are known to be better than dynamic URLs for a number of reasons:

1. Static URLs typically rank better in search engines.
2. Search engines are known to index the content of dynamic pages much more slowly than that of static pages.
3. Static URLs look friendlier to end users.

Example of a dynamic URL
http://www.yourdomain.com/profile.php?mode=view&u=7

This tool helps you convert dynamic URLs into static looking HTML URLs.

Examples of the above dynamic URL re-written using this tool:
http://www.yourdomain.com/profile-mode-view-u-7.html
or
http://www.yourdomain.com/profile/mode/view/u/7/

Note: You will need to create a file called ".htaccess" and paste the code generated into it. Once you have created the .htacess file simply copy it into your web directory.
URL rewriting of this type will work ONLY if you are hosted with Apache Server.

contributed by, Abhishek SEO



No comments:

Post a Comment