Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #478130

    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: /

    Sitemap: http://www.bldcpump.com/sitemap_index.xml

    #478882

    Hi,

    I’m not sure what your robots.txt has to do with the mobile friendliness of your site but send us an admin login and we’ll have a closer look. You can post the details here in the Private Content section of your reply.

    Regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.