最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

"No sitemap linked in your robots.txt file"

programmeradmin1浏览0评论

Relatively new to anything that doesn't require common sense in WordPress. My previous site was built poorly etc, so cutting a long story short I installed a new theme and started building up pages again etc.

I have ran various diagnostics on seo etc while I am working and seem to have problems with indexability and sitemaps.

Getting this message on the onpage site check and had something similar on another platform wherby it is saying there are resources that are restricted from indexing.

Please help asap as i have good rankings and don't want this to affect the next crawl.

Relatively new to anything that doesn't require common sense in WordPress. My previous site was built poorly etc, so cutting a long story short I installed a new theme and started building up pages again etc.

I have ran various diagnostics on seo etc while I am working and seem to have problems with indexability and sitemaps.

Getting this message on the onpage site check and had something similar on another platform wherby it is saying there are resources that are restricted from indexing.

Please help asap as i have good rankings and don't want this to affect the next crawl.

Share Improve this question edited Sep 25, 2016 at 15:58 markratledge 8,7356 gold badges40 silver badges62 bronze badges asked Sep 25, 2016 at 14:14 JoshJosh 211 silver badge2 bronze badges 1
  • sitemaps are convenience, not a necessity. By default wordpress do not generate such because it is pointless on any good structure theme, with a good navigetability in the content/menus. If you feel like you have to have a sitemap, you should use one of the sitemaps plugins – Mark Kaplun Commented Sep 25, 2016 at 17:16
Add a comment  | 

3 Answers 3

Reset to default 1

Well, that message is pretty self explanatory. There is no sitemap linked in your robots.txt file. So you check if you have a sitemap (if not install a plugin that will generate one for you) and add this line to your robots.txt file in the root of your site:

Sitemap: http://www.example/sitemap.xml

First of all, I don't know if you already has a sitemap. If no, I suggest you install YOAST SEO plugin to manage your sitemaps.

With Yoast, your sitemap has this link: http://domain/sitemap_index.xml

Then, add your sitemap to your robots.txt file, like that:

Sitemap: http://domain/sitemap_index.xml

If you already have a sitemap without Yoast, the step is the same. Just add the sitemap URL to your robots.txt like line above.

About your comment:

Please help asap as i have good rankings and don't want this to affect the next crawl

A sitemap is only a file to help crawlers to find your pages. But, if your new pages are linked in other pages of your site (like homepage), crawlers you identify your new pages same way.

Then, don't worry with this alert. There are many other important things to consider when we talk about SEO, like good content, legibility content, page speed and mobile navigation (responsive and amp).

You have to use the Yoast Tool, Edit Files to create and modify the robots.text.

Wordpress Robot.txt tutorial

Then, yes, add

Sitemap: https://domain/sitemap_index.xml
发布评论

评论列表(0)

  1. 暂无评论