• Resolved hopetaylor

    (@hopetaylor)


    I am having problems with the site map. I want to put it into google search console. I have all the pages popped up fine and indexed in my search console already. It’s just a problem with even generating it seems. I turned off the XML feature, cleared my cache and turned it back on. I checked that all the domains match on googles, WordPress and everything (https -fine, https://www., fine) I even undid all of the extra crap in the Yoast section to be – events and podcasts sections because they were blank and there was nothing to be seen or meta/indexed. I am using the Sonaar theme from here: https://sonaar.io/

    I have another site totally custom built I made on Astra and am did not have this issue one bit! it makes me think it’s on the template side but IDK. I am a web designer who is mediocre at the backend code stuff, but I am a small female business owner so I have to find some sort of solution to this myself.

    Here is the error from the link copied as well:

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <error>
    wp_die
    <title>
    <![CDATA[ WordPress &rsaquo; Error ]]>
    </title>
    <message>
    <![CDATA[ ERROR: This is not a valid feed template. ]]>
    </message>
    <data>
    <status>404</status>
    </data>
    </error>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You identified several issues. We have responded to them below.

    A. https://www.aftamusic.com/sitemap.xml/
    We are not sure if that is the URL you have an issue with, but it goes to 404. This is expected, as Yoast does not output the sitemap there.

    B. https://www.aftamusic.com/sitemap_index.xml
    This is where Yoast outputs the sitemap. We went to it and it loads as expected. See image: https://pasteboard.co/InbSD8G.png. Does that match your expectations? If not, can you elaborate more on the issue you are having?

    C. Http to https
    We can also see that you site has two versions. An https one: https://www.aftamusic.com and a non-https one: https://www.aftamusic.com. This is bad for SEO as Google thinks you have two sites. You should enter rules in your server to make all your non-https URLs get redirect to the https ones. Unfortunately, none of the Yoast SEO products are unable to make this redirect. We suggest speaking to your host provider as they can help enter those rules into your server.

    D. I want to put it into google search console.
    Can you verify if you have submitted your sitemap to Google Search Console? If so, do any errors appear on it? If so, please describe them or take a screenshot. You can use a tool like: https://pasteboard.co/ to share the image.

    If you need to submit your sitemap, use this guide: https://kb.yoast.com/kb/submit-sitemap-search-engines/#google

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sitemap Errors using yoast plugin and Sonaar.io theme’ is closed to new replies.