WordPress.org

Ready to get started?Download WordPress

Forums

XML Sitemap & Google News feeds
[resolved] 404 error on mapped subfolder MU site with XML Sitemap & Google NS Plugin (4 posts)

  1. BayLev
    Member
    Posted 1 year ago #

    Hello all

    I have recently added another MU site (subfolder) and mapped it with the WordPress MU Domain Mapping plugin, so instead of mainsite.com/newsite/ it displays as newsite.com. newsite.com is using a child theme, if that makes a difference.

    I am intending to use the XML and Google News Sitemap with the new site as well. However, so far it just returns a 404. It works perfectly fine on mainsite.com/sitemap.xml, but doing the same with newsite.com/sitemap.xml, it does not function. If that helps, so far there are only static pages on newsite, no posts.

    I have not touched anything in the site that may impact the plugin, i.e. fiddled with the robots.txt or something like that :-)

    I appreciate any help. Many thanks!!

    http://wordpress.org/extend/plugins/xml-sitemap-feed/

  2. BayLev
    Member
    Posted 1 year ago #

    Hello all
    Apologies, I gave the instructions another look and fixed the issue. A simple permalinks re-safe sorted it out.

    I still wonder though, why my robots.txt does not say nothing more than sitemap: http://cdn.attracta.com/sitemap/1912931.xml.gz. From what I'm aware I don't even use the Attracta service. Well, I am not robots.txt savvy at all, but am I right to assume that the XML & Google News Sitemap plugin also does not add anything to the robots.txt?

    Thanks anyhow!

  3. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    The XML & Google News Sitemap plugin does add something to the dynamic robots.txt that WordPress creates. However, that one is not visible as long as there is a static robots.txt file in your site root.

    Just delete that file and let WordPress and my plugin handle the rest :)

    [ By the way, if your domain is not meinonlinecasino dot com then you might want to make sure your site/webspace has not been hacked. The sitemap in your current (static) robots.txt file has only references to that domain. ]

  4. BayLev
    Member
    Posted 1 year ago #

    Hi RavanH

    Thanks for your help! All good, I believe I understand what you mean about the robots.txt file.

    Thanks for the warning as well. The domain you mentioned is my site too (the one I described in my post above is a 'child' of that 'main' site) ;-) The two of them run on the sitemap plugin of yours, and it appears to be tracking each domains' contents fine (individually), so I guess all is ok :-)

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic