Consider the following URL:
Now consider this URL:
Which of these URLs is more search-engine friendly?
I recently watched a presentation where the speaker demonstrated how to use URL rewriting to convert the top URL to the bottom URL.Â This technique, he expressed, was more search-engine friendly.Â Google and other search engines could better navigate and index the 2nd URL.
As I watched this presentation, I realized two things:
- This is crap.
- Iâ€™ve also been guilty of uttering this crap.
Semantics are a big topic these days.Â Semantics allow computers to understand the meaning of information on the web.Â This is accomplished by adding hints to web content that help computers understand the meaning of words.
For example, is Apple a company or a fruit?Â Is Fargo a movie or a place ? Is Bart a transportation system or a character on The Simpsons?Â Â These semantics are important if computers are going to deliver relevant search results.Â .
Which of the URLs above convey more semantic meaning to Google and others?
Congratulations you’ve removed semantics from your URL’s
There are many programmers who are spending extra time removing semantic meaning from their URLs.Â They are doing this under the guise of making these URLs search-engine friendly when, in reality, their efforts are doing more harm than good.
Donâ€™t believe me?Â Read Googleâ€™s response on this subject:
Does that mean I should avoid rewriting dynamic URLs at all?
That’s our recommendation, unless your rewrites are limited to removing unnecessary parameters, or you are very diligent in removing all parameters that could cause problems. If you transform your dynamic URL to make it look static you should be aware that we might not be able to interpret the information correctly in all cases.
So thatâ€™s it.Â There is nothing wrong (and a lot that is good) about URL parameters.Â If used effectively they become another tool for sprinkling semantic data through your web site.
All this being said, if your URLs look like this:
â€¦then you could probably benefit from better URLs.Â Just remember the goal isnâ€™t to eliminate URL parameters, the goal is to add meaningful semantics to your URL.