kumarankit
Forum Replies Created
-
Forum: Plugins
In reply to: [XML Sitemap & Google News] Your Sitemap appears to be an HTML page.thanks. with this change, now URL inspection tool from google can fetch it successfully it also shows its indexable. but still the sitemap submission tool says – “couldn’t fetch”.
Forum: Plugins
In reply to: [XML Sitemap & Google News] Your Sitemap appears to be an HTML page.I tried that and it throws an error saying page can’t be indexed. No: ‘noindex’ detected in ‘X-Robots-Tag’ http header. The same tag doesn’t seem to be present on other pages of the we site but only on sitemap.xml.
Curl online shows the header does have no index attached to it. Wonder what added that to the site. I do have wordfence installed, but it shouldn’t be blocking google.
HTTP/1.1 200 OK
2
Date: Sat, 27 Jul 2019 12:05:45 GMT
3
Server: nginx/1.15.7
4
Content-Type: text/xml; charset=UTF-8
5
X-Robots-Tag: noindex, follow
6
Link: <https://www.domainname.com/wp-json/>; rel=”https://api.w.org/”
7
Last-Modified: Sat, 27 Jul 2019 07:24:00 GMT
8
Vary: Accept-Encoding
9
X-Server-Cache: true
10
X-Proxy-Cache: EXPIRED
11
Transfer-Encoding: chunked- This reply was modified 6 years, 10 months ago by kumarankit.
Forum: Plugins
In reply to: [XML Sitemap & Google News] Your Sitemap appears to be an HTML page.any help is appreciated Ravan.
Forum: Plugins
In reply to: [XML Sitemap & Google News] Your Sitemap appears to be an HTML page.thanks for the message Ravan. I was just testing something and had put a static file to see if that would work. but that didn’t work either. now i have removed it, and you should be able to see the correct file generated by the plugin.
https://yoursite.com/?feed=sitemap gave the error – couldn’t fetch file.