Tagged: mobile friendly
I tested my website on google’s mobile friendly test page, it can not pass!
When I deleted my robots.txt, it passed!
I am using Yoast SEO plug, and the robots.txt is important for SEO, so who can provide me a right robots.txt which is suitable for both of the mobile friendly and SEO?
My old robots.txt is following, I don’t know how to change it:
User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /trackback
Disallow: /feed
Disallow: /comments
Disallow: /author/*
Disallow: */trackback
Disallow: */feed
Disallow: */comments
Disallow: /*?*
Disallow: /*?
Allow: /wp-content/uploads
# Google Image
User-agent: Googlebot-Image
Disallow:
Allow: /*
# Google AdSense
User-agent: Mediapartners-Google*
Disallow:
Allow: /*
# digg mirror
User-agent: duggmirror
Disallow: /