WordPress.org

Ready to get started?Download WordPress

Forums

XML Sitemap & Google News feeds
[Plugin: XML Sitemap & Google News Sitemap Feeds] How can we make it to work only on main site? (3 posts)

  1. Pothi
    Member
    Posted 3 years ago #

    Hello,

    I love this plugin, I wonder if it is possible to make this plugin to work only on the primary domain (the main site) and *not* on the subdomains?

    In my case, I do not require the XML feeds for subdomains, because subdomains are used only for testing and development. The actual reason is I do not want the search engines to go through my sub-domains.

    I wonder, if I turn off the privacy on subdomains, would that do? Or if I enable it only for the primary domain (instead of enabling it for the network), would that do?

    (I'm sorry, I'm not a developer, I'm just starting out on all these things).

    Thanks,
    Pothi

  2. RavanH
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    Yes, by setting the Privacy option to block search engines, the sitemap will shut down too.

    You could indeed also do it by only enabling the plugin on the main site (that should work too) but I would advise you to make a habit of blocking search engines from any testing/development sites. So setting the privacy option is the best way to go here :)

  3. Pothi
    Member
    Posted 3 years ago #

    Hi RavanH,

    Thanks for so much for clarifying and sharing an extra tip. :)

    I highly appreciate it and your hard work behind this plugin.

    Thank you,
    Pothi

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic