Having issues trying to create an xml sitemap

Hi i have been trying to create an xml sitemap and anytime i do here is what i get:

XML Parsing Error: not well-formed
Location: http://sandalili.com/sitemap_index.xml
Line Number 1, Column 4:404<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//sandalili.com/main-sitemap.xsl"?>

really need your help here

1 Like

I recommend you read Google’s advice on the format for a sitemap: https://support.google.com/webmasters/answer/183668?hl=en

The robots.txt file starts off with “404” as well.

I’m assuming that’s 404 as in Not Found

Been messing with your htaccess file lately?

1 Like

Hi,

Can you please do let me know how you are adding XML sitemap? I mean through plugin or manually.

Hi thanks for your help. Am adding it via Yoast seo plugin

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.