Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Sitemap_index.xml cannot be read

$
0
0

Replies: 0

Hey there. I am experiencing an extremely frustrating issue 🙁

My sitemap exists. It appears in search tabs. However, when I try and submit it to google search it says that it can’t be fetched and can’t be read.

I have searched all over for answers and can’t find a solution.

Initially, it gave me a 404 error. then I added this code:

# WordPress SEO – XML Sitemap Rewrite Fix
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
</IfModule>
# END WordPress SEO – XML Sitemap Rewrite Fix

to .htaccess file.

Then after this, there was no 404 error. However, this is when it said that it cannot be read?

I don’t know what is going on. Originally I was using wordpress.com but then moved over to wordpress.org and Bluehost.

I have tried 3 sitemaps:

Sitemap-1.xml

Sitemap.xml

Sitemap_index.xml (as a result of installing yoast)

The sitemap-1.xml and Sitemap_index.xml say they can’t be fetched and the sitemap.xml now gives me a 404 error.

I have inspected the URLs too!

Sitemap_index.xml says that it is not on google, then when I conduct a live test it says it is not available to google (Excluded by ‘noindex’ tag)

Sitemap-1.xml is not on google but live test says it is available to google.

sitemap.xml is not on google but live test says it is available to google.

Furthermore, Sitemap.xml says there is 10 discovered URLs however, the other two sitemaps say there are 0 discovered URLs

I have reset permalinks, still nothing.

I must have done something horribly wrong, please can someone help!


Viewing all articles
Browse latest Browse all 59525

Trending Articles