robots.txt for worpress

5 replies
  • SEO
  • |
Hi there,

Is there anybody out there who can show me exactly how to add a robots.txt file to a wordpress blog?

I've tried adding the relevant plugins and for the life of me I can't seem to work out how to do it.

Any help would be seriously appreciated.

#robotstxt #worpress
  • Profile picture of the author Netcel
    Just create a notepad file called 'robots.txt' and place it in the root of your domain using a FTP.

    Don't need to plugin

    {{ DiscussionBoard.errors[1077127].message }}
  • Profile picture of the author Gwuido65
    Thanks, seriously basic question but where would my root domain be? Would it that be my public_html file?

    Premium Weight Loss Supplements - Looking to lose weight once and for all? Try our high quality supplements, developed by one of the worlds leading nutritional scientists

    Follow me on Twitter
    {{ DiscussionBoard.errors[1077155].message }}
  • Profile picture of the author dddougal
    Yes, in public_html...The same place as your index.php file basically
    {{ DiscussionBoard.errors[1077162].message }}
  • Profile picture of the author Tips For
    If you log into your hosting account, and then go to your hosting account's FTP client, you should be viewing your personal computer's file's on one side and on the other side should be the files of your hosting account.

    By default the hosting account side should automatically open up to the root directory. If somehow you wind up in one of the sub-directories (sub-folders) you should be able to keep clicking the button that takes you up one directory level repeatedly.

    Eventually when it stops refreshing, you know you are at the root.
    {{ DiscussionBoard.errors[1077180].message }}
    • Profile picture of the author Joe118
      The easiest way to add a robots.txt is via the KB Robots plugin:

      WordPress › KB Robots.txt WordPress Plugins

      If you have a modern WP install then it should be possible to install it from the WP admin panel w/o any hassles like FTP and so on.
      {{ DiscussionBoard.errors[1077207].message }}

Trending Topics