Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all articles
Browse latest Browse all 42467

rtomo on "[Plugin: WordPress SEO by Yoast] MU and robots.txt sitemap link"

$
0
0

WordPress version: 3.5.1
WordPress SEO version: 1.4.7

I did this: Create WP MU (with subdomain virtualisation mod), install your plugin and network activate, enable the xml sitemap.

I expected the plugin to do this: The plugin automatice createing the robots.txt, with sitemap link with variable url.
( domain.com/sitemap_index.xml - main site xmp sitemap link
sub.domain.com/sitemap_index.xml - one subdomain )

Instead it did this: I'm creating the robots.txt file, with that code:

User-agent: *
Disallow: /wp-admin/
Disallow: /wp-content/plugins/
Disallow: /wp-includes/

Sitemap: http://domain.com/sitemap_index.xml

The problem: When i'am look the sub.domain.com/robots.txt, he's display the main site robots.txt file, with wrong xml sitemap link. (domain.com/sitemap_index.xml)

How to add variable domain for the robots.txt ?
(sub.domain.com/robots.txt - sitemap link: sub.domain.com/sitemap_index.xml
sub2.domain.com/robots.txt - sitemap link: sub2.domain.com/sitemap_index.xml and more...)

Thank you!

http://wordpress.org/extend/plugins/wordpress-seo/


Viewing all articles
Browse latest Browse all 42467

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>