URL Rewriting – Worth doing or not?

Dynamic websites are becoming more and more common as companies and individuals are realising that the internet is the best …

Published by 

Alexis Pratsides


Dynamic websites are becoming more and more common as companies and individuals are realising that the internet is the best way to do business these days, and SEO (Search Engine Optimisation) is becoming more of a widely used term by people who have joined the internet revolution are looking for ways to get the correct type of visitors to their site.

SEO is a vital part of any website these days, and with expressions like “Having your website on the front page of Google is like having a store on Oxford Street” everyone is trying to get a piece of the action. And one big cloudy issue that seems to keep swinging from side to side is URL rewriting, and many web developers are getting confused with what Google says about dynamic URLs vs. Static URLs.

With Google’s most recent blog article about this issue they have mentioned that they have changed their policy when it comes to dynamic URLs, before Google would not index anything past the question mark of a dynamic URL, but now they do accept it and are saying that with a dynamic URL it is possible for them to get more information from a web page; this is where most web developers get confused as this blog post is directed at the less savvy web masters in order to protect them from harming their websites stats, but Google failed to mention this is the post and has left most people in search of whether or not to go ahead with URL rewriting.

But before you make a decision about doing URL rewriting to switch from dynamic URLs to static ones, you need to be sure that the benefits outweigh the costs and that you make sure you keep the entire website consistent.

The Pros and Cons

You have to consider the pro’s and con’s of rewriting your websites URLs and make sure that the pros outweigh the cons, below are some of the pros and cons of dynamic URLs and static URLs that have been rewritten from dynamic ones.

Dynamic URLs Pros & Cons

  1. Con: Having dynamic URLs exposes the underlying technology such as article.php?id=34 shows that this page is built in PHP.
  2. Con: Dynamic links do not give users any idea of what the page contains.
  3. Con: Dynamic links are harder to remember than static links.

Static URLs Pros & Cons

  1. Pro: In a rewritten static URL you can add keywords pertaining to what your article or page is about helping in your Google ranking for a particular keyword or phrase.
  2. Pro: A static URL looks much nicer than a dynamic URL and can be made much cleaner article.php?id=23 can turn into article/article-name.
  3. Pro: Static URLs are easier to remember than dynamic ones.
  4. Pro: Rewriting a dynamic URL to a static one hides underlying technology such as PHP or ASPX giving added security to a website.
  5. Con: If done incorrectly will be messy and be bad for rankings.

The bottom line is that URL rewriting is not essential as Google indexes pages with dynamic URLs as long as they are not generating duplicate content, but although Google prefers static URLs to dynamic ones they recommend that you do not do it unless you are comfortable doing it and will do it properly. Otherwise, it can hurt your rankings if done incorrectly. For those who do it properly, URL rewriting can make your site more SEO-friendly and also make your URLs more user-friendly.

For more help about this topic, feel free to get in touch with to find out how our web development team can help with your website project.

Created by

Alexis Pratsides

Published at 

More insights from the team