Fixing Sitemap and index errors

Hi,

I am getting errors in GWT sitemap.Please check my sitemap at http://prajwalbhat.in/sitemap_index.xml.

attaching screenshots of htaccess file and gwt errors.Its will be great if anyone helps.thanks.




One problem is the following missing file:

http://prajwalbhat.in/spnl_log_type-sitemap.xml

And my guess is that’s why the date isn’t there. i.e. Make sure that file is there exactly as spelled, and both errors are likely to go away.

Should i create a file and add to plugin ?

If you don’t have a sitemap of that name, wouldn’t it be easier to simply remove it from the sitemap index file?
Creating an empty file doesn’t seem like the best idea to me.

I checked spl_log_type not to include in plugin index error went off but sitemap 404 error still remain.

Their is still a 404 error because the file does not exist.

http://prajwalbhat.in/spnl_log_type-sitemap.xml

Edit:
Create this file:
file: http://prajwalbhat.in/spnl_log_type-sitemap.xml

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//prajwalbhat.in/main-sitemap.xsl"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
	<loc>http://prajwalbhat.in/services/</loc>
	<lastmod>2015-05-28T15:55:41+00:00</lastmod>
	<changefreq>weekly</changefreq>
	<priority>0.8</priority>
</url>
</urlset>

Yes so i taught adding a file can do the trick but not getting how to and where xml file should be created and wheather its good idea or any other solutions.

If it is the Yoast plugin creating the sitemap index file I have no idea why it would be adding it when it doesn’t exist.

In the meantime what I would do is add it to the htaccess file as a 410
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

410 Gone

The requested resource is no longer available at the server and no forwarding address is known. This condition is expected to be considered permanent. Clients with link editing capabilities SHOULD delete references to the Request-URI after user approval. If the server does not know, or has no facility to determine, whether or not the condition is permanent, the status code 404 (Not Found) SHOULD be used instead. This response is cacheable unless indicated otherwise.

The 410 response is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable and that the server owners desire that remote links to that resource be removed. Such an event is common for limited-time, promotional services and for resources belonging to individuals no longer working at the server’s site. It is not necessary to mark all permanently unavailable resources as “gone” or to keep the mark for any length of time – that is left to the discretion of the server owner.

where to add it htaccess any idea i created an xml file using a notepad but cant locate it.

I tried adding 410 gone but no change still 404 error
and index error remain

Resolved the error by checking Tags (spnl_log_type) in seo → xml sitemaps ->taxnomies and resubmitting sitemap on GWT waiting for an hour.

Thanks for your help.

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