• Resolved guezs

    (@guezs)


    Hi! I have a multisite and sitemap addon in all my sites. Evaryone of them return 404 when trying to access the sitemap.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Steve M

    (@wpsmort)

    @guezs It may depend on what server you’re running. If you’re running NGINX then you need to add rewrite rules in the NGINX conf file – https://semperplugins.com/documentation/xml-sitemap-rewrite-rules-for-nginx/

    If you’re running Apache then it should work fine but it can depend on how you set up your multisite (sub domains, sub directories, or domain mapping).

    Thread Starter guezs

    (@guezs)

    Thank you for the answer. My site is hosted in Apache and my Multisite is using subdomains.

    Plugin Support Steve M

    (@wpsmort)

    @guezs I’m not able to reproduce this on a Multisite with subdomains here. Can you try navigating to the robots.txt URL for each site and see if that returns a 404 or not. Make sure of the following before testing this:

    1. You don’t have a static robots.txt file on your server
    2. You don’t have the Robots.txt module enabled in All in One SEO Pack

    This will determine if WordPress is having a problem as WordPress generates a dynamic robots.txt by default.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error 404 when trying to access sitemap.xml’ is closed to new replies.