WordPress.org

Ready to get started?Download WordPress

Forums

  1. Russell Heimlich
    Member
    Posted 1 year ago #

    ... for sub-folder multi-site installs.

    I don't see why you can't do it by hooking in to the do_robots.txt action.

    The old Sitemap plugin I use to use did it just fine (search for robots) -> http://plugins.svn.wordpress.org/xml-sitemap-feed/tags/3.9.2/XMLSitemapFeed.class.php

    I managed to write my own filter to handle this but just thought you should know that it's not that hard to do.

    I use a sub-folder multisite install with the Domain Mapping plugin. You can see it in action at http://www.pewresearch.org/robots.txt, http://www.pewsocialtrends.org/robots.txt etc.

    Great plugin by the way. I really appreciate all of the hard work you clearly put in to this. So happy to see sitemap index support. The old plugin would constantly choke on too many URLs.

    http://wordpress.org/extend/plugins/bwp-google-xml-sitemaps/

  2. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Russell, thanks for using BWP GXS.

    Actually robots.txt can not reside at a sub-directory, so something like this: http://domain.com/sub-folder/robots.txt is not correct and would not work at all.

    It's not hard I just haven't added support for mapped domain in a sub-folder multi-site environment, but sure it will be supported :).

    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.