Third part on Learning How to Rewrite URL the Right Way for Better SEO
Now there are a lot of ways on how to rewrite URL. It would all depend on how the current site has been constructed and what server it is on. For the most part, the simplest way to do this is with the use of the .htaccess file.
The .htaccess File Approach
Basically what you do here is to create rules on the htaccess file regarding the URL of the site. This overwrites the auto-generated URLs which is typical in most servers and websites.
By setting up rules, such as deriving the URL from the title tag of the page or other sources, you literally make your life easier. This is way better than having to go from one page to the other and replace their URLs manually. If you setup rules on rewriting URLs instead, everything becomes automated and your life becomes easier.
The only problem here is to make sure that no two pages end up with the same URL. That being said, either you create a rule to avoid this or make sure that all the titles of the pages are different from each one. In using this, you have to be very careful in setting up rules to ensure nothing overlaps with each other.
Manual URL Rewriting
Another way to approach how to rewrite URL is to do it manually. Of course this is not the most ideal way to do this because it will require A LOT of work. However, for small sites (having just 10 to 20 pages), this can be done to ensure each page has a unique and optimized URL.
Other Methods of Rewriting
As mentioned earlier, learning how to rewrite URL will differ from one system to another. If you are using a Content Management System or backoffice system for the site, then the method might be different. However, the two proposed methods can be done in almost all systems and situations when it comes to rewriting URLs.

Dann Fong
Tags: how to rewrite URL




