WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Adding custom folders to robots.txt (2 posts)

  1. letterafterz
    Member
    Posted 1 year ago #

    I've got a subfolder in my website for storing backup emails and I want to block it from search bots in my robots.txt file but I'm not sure how I can inject a custom entry into the robots.txt generated automatically by Yoast SEO.

    Any suggestions would be appreciated.

    Cheers.

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

  2. MattV
    Member
    Posted 1 year ago #

    You can edit your robots.txt in Dashboard => SEO => Edit files => Robots.txt.

    Or just download robots.txt from your server, add the line and reupload the file.

    I suppose you already password protected the folder?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.