Mobile-friendly problem

Posted in: Newspaper
Post count: 19

Hi there. I need help here.

As you probably know, Google is now punishing sites that are not mobile-friendly.

I thought that I was OK, my site seems to be perfect for me, but Google don´t agree.

In google test page, its showing that my site is not mobile-friendly, with 2 errors: Links to close and content bigger than screen.

Can you guys take a look at my website please?

Site: http://emagrecersemdieta.com.br

Test page: https://www.google.com/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Femagrecersemdieta.com.br

Thank you.

Post count: 9544

Perhaps check your robots.txt file first, as if you block part of your site without actual need to do so, then Google cannot load the proper CSS to build mobile version of page …

from the screenshot on the test page – you’re not getting the mobile layout … hence their warning about not blocking your wp-content folder with robots.txt …

  • This reply was modified 11 years by simchris.
Post count: 9544

Also to clarify the panic and despair some folks have been hyped into worry and fear over … if you site doesn’t pass the mobile friendly test ALL THAT MEANS is that your site will not be shown/ranked highly for MOBILE searches — it does not impact your desktop searches at this time.

Logical idea – if a website won’t work on cellphone, why show link to a site in SERPS for mobile that won’t work on mobile.

It doesn’t mean your site is going to get kicked out or ‘punished’ — technically, merely not shown as well as it could for mobile.

During the break in period — they will typically still show sites, but they will remove a “mobile friendly” tag next to the site to identify it’s not mobile friendly.

Eventually they will start to hide those sites but not entirely “right now.” So, you have some time to shore up the flood gates 🙂

Post count: 1291

Hi,


@pings

As Christopher pointed it comes from your robots.txt – http://screencast.com/t/wFBfpGJS
Try this solution – http://www.davidtiong.com/is-my-wordpress-responsive-website-mobile-friendly/

Thank you, Emil G.

Post count: 9544

As a general rule, “most” SEO folk (including Joost over at Yoast, not that he’s always correct on things, I might add.. I can point to articles where he hands out advice and then Google guidelines the next day point out the fallacy of that advice …) … now only put in the robots.txt file couple of things

a) link to sitemap *if* a static site; not needed with WordPress unless you’re using something with static sitemap in your root and you want to ‘hint’ that — Google prefers you to submit via webmaster tools, as does Bing, Yandex, etc.

b) block anything you might have such as legacy /cgi-bin/ in root, or something like a /cache/ folder in root, or something like the duplicator plugin, /duplicator/

You should NOT block anything related to WordPress anymore in your robots.txt file, for best performance.

Some OLD server-installed copies of WP put a whole robots.txt blocking list, and I think that is what you’re running into now.

Fact is, you can pretty much empty your robots.txt file unless you know what you’re doing with that 🙂

Post count: 19

Thank you guys, I will try to fix it and if still have problems Ill let u know.

But you have any suggestion what should I keep or not in my robots?

Post count: 19

I dont even remember adding all those code lines. My complete sitemap:

User-agent: *
# remova os diretorios
Disallow: /cgi-bin/
Disallow: /tag/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /trackback/
Disallow: /feed/
Disallow: /tags/
Disallow: /category/
Disallow: /author/

User-agent: Googlebot
# remover scrips css e afins
Disallow: /*.php$
Disallow: /*.js$
Disallow: /*.inc$
Disallow: /*.css$
Disallow: /*.gz$
Disallow: /*.wmv$
Disallow: /*.cgi$
Disallow: /*.xhtml$

# qualquer endereco que contenha ?
Disallow: /*?*

# permitir o adsense em qualquer url
User-agent: Mediapartners-Google*
Disallow:
Allow: /*

# majesticseo.com
User-Agent: MJ12bot
Disallow:

#Sitemap

Sitemap: http://emagrecersemdieta.com.br/sitemap.xml.gz

Post count: 9544

Looks like added by hosting setup automatically … which is the thing I was talking about … looks like some of that other stuff added by your SEO plugin, and or advertising module(s) ?

If you didn’t add that stuff, might be good to look at who did and/or removing it unless you know *why* it’s there.

example — this could all be removed:

# remova os diretorios

Disallow: /tag/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /trackback/
Disallow: /feed/
Disallow: /tags/
Disallow: /category/
Disallow: /author/

Post count: 9544

Not sure what all this stuff is …

Disallow: /*.css$

GOOGLE REF:
https://support.google.com/webmasters/answer/6062608?hl=en&rd=1

Post count: 19

Already did some changes to my robots.txt, especially deleting googlebot blocks, but it didnt see to work yet. I did it yesterday, updated manually in webmasters google tools, and its still saying its not mobile-friendly.

I used Emil suggestion from http://www.davidtiong.com/is-my-wordpress-responsive-website-mobile-friendly/

This is my robots now:

User-agent: Googlebot
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-content/plugins/
Allow: /wp-content/plugins/*.css
Allow: /wp-content/plugins/*.js
Disallow: /wp-content/mu-plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Allow: /wp-content/themes/*.css
Allow: /wp-content/themes/*.js
Allow: /wp-content/themes/*.gif
Allow: /wp-content/themes/*.png
Allow: /wp-content/themes/*.jpg
Disallow: /*.php$
Disallow: /*.inc$
Disallow: /*?

User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/mu-plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Disallow: /*.php$
Disallow: /*.js$
Disallow: /*.inc$
Disallow: /*.css$
Disallow: /*?

# permitir o adsense em qualquer url
User-agent: Mediapartners-Google*
Disallow:
Allow: /*

# majesticseo.com
User-Agent: MJ12bot
Disallow:

#Sitemap

Sitemap: http://emagrecersemdieta.com.br/sitemap.xml.gz

Whats next?

Post count: 6600

Hi,

According to this robots.txt configuration some resources on your site still aren’t reachable by google’s bots: http://screencast.com/t/SeAHYz99 so please make sure that you check them all and write and update the robots file to allow access to them or disable the plugins that use those resources and test again.

Thanks

Post count: 19

Maybe it has something to do with TOTAL CACHE plugin? or YOAST WORDPRESS SEO? Dont know what changes I should do, sorry.

Post count: 9544

Obviously you should be clearing your cache after doing any changes to website like this, updates, theme upgrades, WP updates, etc. Yoast SEO no longer manages robots.txt file – there isn’t even an option to edit it anymore in their menu (edit files is now gone, I noticed; at least in my setup).

Post count: 9544

This is what I see in your robots.txt file, so apparently not cached …

User-agent: Googlebot
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-content/plugins/
Allow: /wp-content/plugins/*.css
Allow: /wp-content/plugins/*.js
Disallow: /wp-content/mu-plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Allow: /wp-content/themes/*.css
Allow: /wp-content/themes/*.js
Allow: /wp-content/themes/*.gif
Allow: /wp-content/themes/*.png
Allow: /wp-content/themes/*.jpg
Disallow: /*.php$
Disallow: /*.inc$
Disallow: /*?

User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/mu-plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Disallow: /*.php$
Disallow: /*.js$
Disallow: /*.inc$
Disallow: /*.css$
Disallow: /*?

# permitir o adsense em qualquer url
User-agent: Mediapartners-Google*
Disallow:
Allow: /*

# majesticseo.com
User-Agent: MJ12bot
Disallow:

#Sitemap

Sitemap: http://emagrecersemdieta.com.br/sitemap.xml.gz

I would likely try REMOVING everything in your robots.txt file.
Perhaps remove this: Disallow: /wp-content/themes/

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.