xml sitemap
-
How come SEO checkers can not see my xml sitemap?
Everytime I put the URL of my website, it says no sitemap found.
-
Try to activate the sitemap feature from Yoast settings panel and publish a new post or simply update any old one and the sitemap will be automatically generated.
Try to flush rewrite rules (Settings -> Permalinks -> Save changes).
More info at https://kb.yoast.com/kb/my-sitemap-index-is-giving-a-404-error-what-should-i-do/
Thanks for your reply.
My XML sitemap is activated already but everytime I go to SEO checkers I’m getting no XML Sitemap found.Hi Sasa,
I have tried the flush rewrite rules and then I tried checking it using SEO checker again but still giving me an error message “No XML Sitemap has been found”.
Do I have to upload my sitemap_index.xml in my server?
@lhynn2172 Please provide a link to your website and the SEO checker you are using for further investigation.
Hi @lhynn2172
We can’t help without more details.
Can you access to sitemap_index.xml in your browser (try to open http://yourwebsite.com/sitemap_index.xml)? Can you open sub sitemaps?
Please provide URL of sitemap and SEO checker as @amboutwe suggested.PS. Some hostings block “bad bots” (apache mod_security) or some security plugins (if you have installed these) can block some bots. (it includes some SEO checkers – I don’t want to elaborate more without your feedback)
-
This reply was modified 9 years, 6 months ago by
Saša.
Thank you all for your reply.
Here is the link of our website https://cbite.com/cbite_wpc/
I used several seo checkers:
http://www.seocentro.com/tools/seo/seo-analyzer.html
http://seositecheckup.com/
http://www.seowebpageanalyzer.com/
http://seochecker.com/Here is the link URL sitemap
https://cbite.com/cbite_wpc/sitemap_index.xmlYes I can access the sitemap_index.xml and sub sitemap in my browser.
Your server has active mod_security (it’s standard option for inmotion). I see that you redirect http://cbite.com/ -> http://cbite.com/cbite_wpc. You can add rule in main .htaccess:
RewriteRule ^sitemap.xml$ cbite_wpc/sitemap_index.xml [R=301,L]It’s the simplest workaround for your issue. Or add
Sitemap: http://cbite.com/cbite_wpc/sitemap_index.xmlin robots.txt.It’s short answer.
Hello Sasa,
Thanks for your reply. I will let you know if it works. Our website has an SSL , so should I use https pr http on the robots.txt?
Thanks
Hello @lhynn2172
There are little mess with redirects and I can’t see all details. You should use your preferred variant (https://cbite.com/ if you force SSL). Also your main robots.txt isn’t correct (your WP installation isn’t in root directory), you just copied it from subdirectory.
Basically, it’s resolved and my advice is to you read more about robots.txt and sitemaps. Complication is because you have installation into subdirectory and you need to have main files which are mixed from all other installation.
-
This reply was modified 9 years, 6 months ago by
The topic ‘xml sitemap’ is closed to new replies.