: Discrepancy in Recent warning to Fix mobile usability issues Our website has a desktop version and a separate mobile version (/mobile) which is determined in the .htaccess file when mobile users
Our website has a desktop version and a separate mobile version (/mobile) which is determined in the .htaccess file when mobile users access the site they are taken specifically to the mobile site. Recently, we were notified inside Google Webmaster Tools to "Fix mobile usability issues" and it listed the following errors:
Viewport not configured
Small font size
Touch elements too close
Content not sized to viewport
However, when we go to www.google.com/webmasters/tools/mobile-friendly/ The website checks out and reports "Awesome! This page is mobile-friendly"
I then noticed inside of the Google Webmaster tools there is only ONE sitemap for the desktop version. Do we need to add a new sitemap.xml inside /mobile directory? I'm guessing that maybe Google isn't aware of the /mobile directory and only considered the desktop sitemap, is that possible?
Thanks in advance
.htaccess file
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access plus 1 month"
ExpiresByType text/css "access 1 monthâ
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
## EXPIRES CACHING ##
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/mobile/.*$
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|operamobile|palmos|webos|googlebot-mobile" [NC]
RewriteRule ^(.*)$ /mobile/ [R=301,L]
</IfModule>
More posts by @Jennifer507
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.