wordpress - Keeping robots.txt blank -


i have couple of wordpress sites , current google seo algorithm update site should mobile friendly (here)

my query here follows, have written rule in robots.txt disallow crawling url's wp-

user-agent: * disallow: /cgi-bin disallow: /wp-admin disallow: /wp-includes disallow: /wp-content/plugins disallow: /feed disallow: /*/feed disallow: /wp-login.php 

i don't want google crawl above url's. earlier working fine recent google algorithm update, when disallow these url's start giving errors in mobile friendly test (here). css , js behind wp- url's. wondering how can fix one. suggestions appreciated.

if keep crawler away files page may , work different google looks visitors. google wants avoid. there no problem in allowing google access css or js files else can open html-source , read links can access them either.

therefore google wants access css , js files used on page: https://developers.google.com/webmasters/mobile-sites/mobile-seo/common-mistakes/blocked-resources?hl=en

those files needed render pages.

if site’s robots.txt file disallows crawling of these assets, directly harms how our algorithms render , index content. can result in suboptimal rankings.

if dependent on mobile rankings must follow googles guidelines. if not, feel free block crawler.


Comments

Popular posts from this blog

python - How to create jsonb index using GIN on SQLAlchemy? -

PHP DOM loadHTML() method unusual warning -

c# - TransactionScope not rolling back although no complete() is called -