WP multisite dynamic robots.txt shows “sitemap”
-
Referring to
https://florianbrinkmann.com/en/3364/modifying-robots-txt-for-individual-sites-of-a-multisite-install/
I made a similar robots.txt meeting my purposes.It works well in my multi site.
But if the subdomain is a “https://” (secure), the function adds two lines at the top of the dynamic robots.txt :
Sitemap: https://my_subdomain/sitemap.xml
Sitemap: https://my_subdomain/news-sitemap.xmlWhat must I do that the “Sitemap” lines will not be shown ?
Thx in advance for your helpful hints
josef
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP multisite dynamic robots.txt shows “sitemap”’ is closed to new replies.