WordPress.org

Ready to get started?Download WordPress

Forums

Humans TXT
Now works with server-root (9 posts)

5 stars
  1. Steven Vachon
    Member
    Posted 1 year ago #

    :) :)

    I have my WordPress installed to a sub-directory, so this plugin will not work.

  2. Till Krüss
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, the official humans.txt website states that the file has to be located "In the site root.".

  3. Steven Vachon
    Member
    Posted 1 year ago #

    What about sub-dir WordPress installations containing an *.htaccess file in the server root?

  4. Steven Vachon
    Member
    Posted 1 year ago #

    "Google XML Sitemaps" does not have a problem with sub-dir installations.

  5. Till Krüss
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, because sitemaps can be located anywhere, however the "official" humans.txt standard is that the file needs to be in the root of the domain. You can define the constant HUMANSTXT_IS_ROOTINSTALL as true, if you wish to bypass that warning message.

  6. croakingtoad
    Member
    Posted 1 year ago #

    @Steven - You could just write a cron to copy the file from the subdirectory to the root folder.

  7. Steven Vachon
    Member
    Posted 1 year ago #

    Yeah, I guess, but it should be more the responsibility of the plugin developer to make his plugin bulletproof, or foolproof, whatever.

    Would be it a terrible idea to give us the option to place the file elsewhere, however with a bold warning telling us that it must be in the server root to function correctly?

  8. Till Krüss
    Member
    Plugin Author

    Posted 1 year ago #

    I just released v1.2.3, which works on sub-directory as well. Cheers!

  9. Steven Vachon
    Member
    Posted 1 year ago #

    Awesome! Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.