Support » Plugin: Yoast SEO » Adding custom folders to robots.txt

  • Resolved letterafterz


    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.


Viewing 1 replies (of 1 total)
  • MattV


    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Adding custom folders to robots.txt’ is closed to new replies.