Should I redirect "ugly" URL to friendly URL?
I use mod_rewrite to rewrite https://example.com/?page=some-page&tab=2 to https://example.com/articles/some-page/2. But people can still access both URLs.
I want to know: should I redirect the "ugly" URL to the friendly URL?
Does that improve my SEO? And why?
You only need to redirect the "ugly" URL if you had changed the URL structure and the "ugly" URLs had already been indexed by search engines and/or linked to by third parties. In this case, it is essential to redirect the old "ugly" URLs in order to preserve SEO and possibly prevent duplicate content issues.
However, if you implemented the "pretty" URLs from the very beginning - and these are the only URLs being referenced, then it's unlikely that redirecting the "ugly" URLs would make any difference in terms of SEO. You should already have the appropriate rel="canonical" tags in-place, which further negates the requirement to implement redirects from the "ugly" URLs.
It creates duplicate content issue and Search Engines dislike duplicate content.
Ugly url MUST be validly redirect to seo friendly URLs to avoid duplicate content/pages issue.
Much ado is made of optimizing URLs for SEO. However, the real importance of URL shaping is preserving bookmark and external link traffic. Keyword-stuffing URLs is an old, cheap trick, and search engines give it very little weight because it's so easy to abuse.
And it makes stupid URLs that are hard to type. Even more laughably, breaking external links breaks PageRank/link relevance. These days every search engine also makes a browser, so with a little snooping, they can also use user bookmarks to rank. So preserve that organic traffic, it is more than organic. Some people say "never 404 any page"; I heartily agree and this is why.
There are no 404s in my log, except for human-fatfingered URLs, and that's usually me lol.
Of course, reality is that you do change web platforms from time to time, and you get locked out of using your traditional URL. That's where the HTTP response "301 Permanent Redirect" comes in, because Google and Bing certainly understand a 301, and PageRank and other factors will follow the 301. Upshot: 301 is essential.
Some lousy websites redirect all 404s to the homepage. Seriously, how often do you then stay on that website? You don't, you leave. So does Google, they know that you have destroyed the specificity that their searcher wants, so the search engine discards the page-level rank factors. The site had them, the site wasted them, and they get to start over.
Anyway, what you propose is exactly the right thing: redirect content to its specific mate page that has the same content, or at least content that is equally specific.
Your hope is that the "pretty URL" will provide better SEO. I don't put a lot of stock in that, as said. However, I certainly do put stock in the search engine doing a better job indexing and ranking "static" pages like site.com/dir/subdir/page.html than dynamic pages like site.com/engine.cgi?param=value¶m=value. The latter is often redundant to static pages elsewhere, search results of an internal search engine, or a black hole (infinite, recursive links). Because of the diminished value, and risk of black hole, crawlers are skittish about indexing those deeply.
Although there is an accepted answer already, I still felt the need to make a complete description, based on Google's own recommendations rather than various legends floating around the net.
We hope that this article has helped you resolve the seo, redirects, url error in your web browsers. Enjoy browsing the internet uninterrupted!
Comments
Post a Comment