WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] One of my plugins is getting indexed (7 posts)

  1. srsheldon
    Member
    Posted 2 years ago #

    My blog is fairly new and I just saw that one of my plugins has been indexed by Google. I didn't see any option in the SEO plugin to exclude specific folders from being indexed.

    Is there any way to deal with this issue using the WordPress SEO plugin? I thought that was one of the purposes of the indexation feature.

    Thanks.

    Sharyn

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

  2. Marventus
    Member
    Posted 2 years ago #

    Hi Sharyn,

    Is the plugin's directory being shown in google? If so, you could create a robots.txt file inside the plugin folder and block robots from accessing it pasting this code inside it:

    User-agent: *
    Disallow: /

    Cheers!

  3. srsheldon
    Member
    Posted 2 years ago #

    Yes, it's the index being shown.

    So, I just create a file called robots.txt and paste only that code in? Then upload it to the WP plugins folder? No other code needed?

    I've never had to do anything like this before, so I want to make sure I don't mess up anything.

    Thanks!

    Sharyn

  4. Marventus
    Member
    Posted 2 years ago #

    Yeah, that should do it. However, just in case, don't upload it into the plugins folder: upload it inside the folder of the one plugin that is showing up on Google.
    Let me know if it works or if you encounter any other problems.
    Good luck!

  5. Marventus
    Member
    Posted 2 years ago #

    Hi,

    Were you able to figure this out? If so, could you please mark this topic as resolved?

    Thanks!

  6. srsheldon
    Member
    Posted 2 years ago #

    I think it worked, but I don't know yet. Guess it takes a while for Google to deindex something.

    Thanks for your help!

  7. Marventus
    Member
    Posted 2 years ago #

    That makes sense, :-) Glad I could help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic