WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Resolved] [Plugin: WordPress SEO by Yoast] remove noindex on login page

[Resolved] [Plugin: WordPress SEO by Yoast] remove noindex on login page

  • I saw that my simple press forum was not indexed by google because there was an automatic “noindex” insertion by yoast wordpress seo. I was searching to disable this option but there is no way to do that, so I’ve searched for it in the php files and found the function noindex_page() in class-frontend.php where I’ve commented out the line echo ‘<meta name=”robots” content=”noindex” />’.”\n”; and now my forum is indexed.

    I need you to modify the plugin so we can choose if we want to index or not the login pages because some of use are using the login template in other sections of our websites.

    Thanks

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I migrated from All-In-One SEO to Worpress SEO by YOAST. Mysteriously my forum was de-indexed by google. Once I noticed I came across your post and made a modification to the above mentioned line. I used a couple of online web page crawling diagnostic utilities to test access to my forum and they verified that there was a noindex in the page somewhere, even though I could not find it when viewing the source through Chrome.

    I tried commenting it out, but that didn’t work. I changed “noindex” to “index” and the diagnostic utilities could then crawl the forum pages.

    I made this change 3 days ago and google still hasn’t indexed my Simple:Press forum. In those 3 days I have submitted URL’s to google, facebook, twitter, digg and many other bookmarking sites to try and speed up indexing.

    This site is part of a Multi Site setup. I released another site on this multi-site network just yesterday. This entire site has been indexed within 24hrs, yet it’s simple:press forum has not been indexed either.

    Any ideas? Anyone?

    The sites are:

    http://www.my-gopro.com
    http://www.my-contour.com

    I forgot to mention.

    The forum URL’s are

    http://www.my-gopro.com/forum
    http://www.my-contour.com/forum

    Any update on your issue? I have just tried commented out the line echo ‘<meta name=”robots” content=”noindex” />’.”\n”;

    But if that does not work I would be interested in how to resolve this.

    Plugin Author Joost de Valk

    @joostdevalk

    Why the hell would you use your LOGIN template for anything else? That’s just a wrong use of the login template, not a fault of my plugin. By the way, the noindex on the login page is in core too…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] remove noindex on login page’ is closed to new replies.
Skip to toolbar