WordPress.org

Ready to get started?Download WordPress

Forums

Why not include robots.txt as part of WordPress? (8 posts)

  1. WPChina
    Member
    Posted 7 years ago #

    How hard is it to include a default robots.txt in each installation package? I often accidentally overwrite mine when I delete my files when I upgrade (I know, I know... I should be more careful) and it would make things easier and perhaps lessen requests to blogs if we had a default robots.txt....

  2. Stahn
    Member
    Posted 7 years ago #

    Not all blogs are stored in the root.

  3. whooami
    Member
    Posted 7 years ago #

    .. for what purpose?

    a robots.txt has no bearing on how WP works? Not to mention that its ONE more thing to "support" since most people dont have a clue what its for anyway.

    Seems to me, its equally easy to put back one you've backed up after you've accidentally overwritten one. (Why that would happen since there isnt one included is beyond me but Im not asking for an explanation...)

    And equally easy for those that actually know what its for to create one, its not that hard.

    The people that write this software dont already do enough?

  4. WPChina
    Member
    Posted 7 years ago #

    @whooami: ;) explanation: the way I upgrade is via ftp I just select all files in my root, move them to a temp directory and then upload new files. That way I can easily delete old files and copy back old files (and database) if there is a problem. If no problem, then I delete that temp directory, with the robots.txt inside...

    I agree it's super simple to create, upload, and maintain the file, but the addition of the file with the core files will help to educate all users--robots.txt is such an important/intrinsic part of creating any website/blog that it is amazing that so very many people do not understand/use it. I know it's a pain in the arse to support it, but it's one more step for the developers to truly make WP a universal product.

    If the blog is not stored in the root, then the file will just be ignored anyway. However, if it is in the root, robots.txt can help defray potential server hits from certain bots ,and therefore have the server running a bit better.

  5. whooami
    Member
    Posted 7 years ago #

    >>...will help to educate all users--robots.txt is such an important/intrinsic part of creating any website/blog that it is amazing that so very many people do not understand/use it

    I disagree.

    It wont (educate).
    It's not (important or intrinsic).

    Neither one of our opinions matter though :P So no worries :)

    PS: Do I use one? yes. Could I live w/o it? Yes.

  6. WPChina
    Member
    Posted 7 years ago #

    ok, you win ;)

  7. Adam Brown
    Member
    Posted 7 years ago #

    This is for people like you, WordPressChina:

    http://wordpress.org/extend/plugins/kb-robotstxt/

    Cheers.

  8. WPChina
    Member
    Posted 7 years ago #

    :) Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags