jekyll / jekyll-redirect-from

:twisted_rightwards_arrows: Seamlessly specify multiple redirections URLs for your pages and posts.
MIT License
782 stars 114 forks source link

Should robots be allowed to index a redirect for SEO? #195

Closed chadpav closed 5 years ago

chadpav commented 5 years ago

I'm migrating a bunch of content from another site (same domain, just different url structure) using Jekyll. First, this plugin is working great for all of the existing backlinks I have.

However, I'm concerned about losing a bunch of SEO rank with this migration so I've been reading up on redirects.

Does anyone know the logic of having a meta tag specify that robots should not follow the redirect page: <meta name="robots" content="noindex">

If I tell the Google search console to index the redirected url it now says that it will not index that page because of this meta tag. I'm wondering how Google is going to know about the new page if it's crawler isn't allowed to read the content of the redirect?

Does anyone know if this plugin is SEO friendly? How long does it take for Google to figure out where content has moved to?

PS: I don't think overriding the redirect.html template works according to the documentation and I found this old PR where the feature was started but not completed.

https://github.com/jekyll/jekyll-redirect-from/pull/94

pathawks commented 5 years ago

I'm wondering how Google is going to know about the new page if it's crawler isn't allowed to read the content of the redirect?

noindex means do not include this page in search results. Search engines still crawl the page and its links.

nofollow disallows search engines from following links, which we are not using here.