• Resolved youandus

    (@youandus)


    Hi

    I have set media attachments and author pages as noindex in the seo framework plugin.

    I have also enabled the origin extension to redirect attachment images to the posts. I was wondering if noindex of the attachment will affect the post pages to which attachments have been redirected with origin extension. Will they get noindex as a result?

    The question is can I do both or just one or the other?

    Similarly I want to redirect the author page to the homepage of the website so when visitors click on the author link on the post instead of going to author archive page they go to homepage. Can I do it if I noindexed the author pages in the plugin. Would the homepage get noindex as a result of author page directing to it?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    The “noindex” directive only affects the current request.

    When a page is redirecting, its “noindex” directive cannot be read–however, since the page is redirecting, it cannot be indexed anyway.

    When the page it redirects to has its canonical URL pointed to another page, then that URL will then be followed. However, when its canonical URL points to the current request, then the “noindex” directive comes into effect.

    There are quirks here and there when mixing canonical URLs and indexing directives, but TSF takes care of those graciously.

    To summarize, search engine robots follow, in order of importance: Redirect, Canonical URL, noindex directive.

    So, in your case, when the Origin extension cannot redirect the attachment page, the “noindex” directive be honored instead.

    Now, we have no methods for redirecting author archives in The SEO Framework plugin. You can use other methods of achieving this (another plugin or custom code), and that shall not interfere with The SEO Framework.

    I hope this clears up some of the confusion ?? Cheers!

    Thread Starter youandus

    (@youandus)

    Perfect thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘noindex and redirect on this same page’ is closed to new replies.