WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Multisite sitemap errors - domain removed from url (2 posts)

  1. ashbryant
    Member
    Posted 4 months ago #

    Hi all,

    Please forgive me if this has already been answered before, but it's next to impossible to go find solutions in the support area of WordPress plugins & I have gone back through as far as I can bare. I see a lot of issues with 404 errors and I don't think that is what I have here, as I think that relates to the not finding of a website sitemap xml file and not what I'm having issues with here, so...

    I have a WP Multisite install using sub directories like this...

    http://domainname.com/site1/
    http://domainname.com/site2/
    http://domainname.com/site3/
    http://domainname.com/site4/

    I have submitted the sitemaps for each to Google webmaster tools and I see that I'm getting errors in the subdirectory sites 'Invalid URL' 'This is not a valid URL. Please correct it and resubmit.'

    It seems to be the post_tag-sitemap.xml that is the issue, as it is removing the domain from the url submitted, so it looks like this...

    /site1/tag/my-tag-name/

    For now I have excluded tags from the sitemaps, but I think this is not the best way to fix the issue.

    Can anyone help me please?

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

  2. Jim Bob
    Member
    Posted 4 months ago #

    I have a similar problem.

    <url>
    		<loc>/plants-vs-zombies-2-review-4/</loc>
    		<lastmod>2013-11-08T01:33:30+00:00</lastmod>
    		<changefreq>weekly</changefreq>
    		<priority>0.6</priority>
    		<image:image>
    			<image:loc>http://blog.domain.com/wp-content/uploads/2013/10/plantsvszombies2.jpg</image:loc>
    			<image:caption>Plants vs Zombies 2</image:caption>
    		</image:image>
    	</url>

    in the LOC, why isn't it putting the blog url infront? This is causing an issue when I submit the sitemap in Webmasters.

Reply

You must log in to post.

About this Plugin

About this Topic