Mobile usability issue: Viewport not set
-
Recently my site was flagged by Google for a “viewport not set” mobile usability issue. The theme I’m using definitely has the meta tag with viewport declared.
When I opened the error page provided by Google, it was a /feed/ page provided by W3 Total Cache for one of my posts.
Would anyone know how I could get rid of this mobile usability error?
-
Hello,
Can you please share that page that is “provided” by W3 Total Cache?Hello,
are you referring to:<!-- Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/ Object Caching 25/74 objects using disk Page Caching using disk: enhanced Served from: doctoolhub.com @ 2019-05-15 14:39:25 by W3 Total Cache -->The link I provided is exactly the link Google gave me as “evidence” that viewport is not set. This link was in the Google mobile usability report, and it looks like the snippet you’re showing comes from the page that link points to. Thanks
Hello,
The provided snippet is the HTML comment. Does the issue persist if you disable W3 Total Cache?
Today I deactivated W3 Total Cache then went into Google Search Console and clicked “Validate Fix” for the viewport error Google was given.
The status of the error is now “pending” and awaiting a definitive response by Google. Will let you know the result.
I can confirm that Google declares the issue resolved when I disable W3 Total Cache.
Hello,
Sorry for the late reply.The feed is linked in the normal page at https://doctoolhub.com/resource/harnessing-analytics-to-measure-the-efficacy-of-user-documentation-uxmatters/ :
<link rel="alternate" type="application/rss+xml" title="DocToolHub » Harnessing Analytics to Measure the Efficacy of User Documentation – UXmatters Comments Feed" href="https://doctoolhub.com/resource/harnessing-analytics-to-measure-the-efficacy-of-user-documentation-uxmatters/feed/">
Google follows that link, but it should not index the feed.
First time loading a feed doesn’t have<head/>after reloading it does
<?xml version="1.0" encoding="UTF-8"?><head/>
The <head/> should not be there.
We’ve added this as an issue as it appears something happening before Page Cache that should not be happening.Thank you for bringing this to our attention and thank you for your patience.
The topic ‘Mobile usability issue: Viewport not set’ is closed to new replies.