The Importance of SEO Friendly URLs
Seo Friendly Url is an important factor for any website to be on top in search engine results. These days most websites are dynamic & their urls are non seo friendly.
Search engines don't like non-seo friendly urls, due to that website lacks to come in top in search engine result irrespective of their great webpage content. Example of such urls are as follows:
Real World Examples
SEO Friendly Url Example:
www.ucodice.com/articles/seo-friendly-url/
Non SEO Friendly Url Example:
www.ucodice.com/article.php?id=2
How to fix it: Mod Rewrite
To fix such urls one can use Apache's Mod rewrite module to rewrite urls in seo friendly manner. We can write rules in the .htaccess file to re-write our urls.
Best Practices Checklist
Some other points to notice while creating seo friendly urls:
- Use hyphens (-) instead of underscores or any other character for separation.
- Do not use special characters.
- Make urls easily readable (as seen in the friendly example above).