• Good day,

    I have been monitoring my Google Rankings and have noticed that my site has dropped from the search results. Upon research in Google Search Console, the only issues I’ve been able to find are 15 affected pages in the Mobile Usability report. Everything else is fine.

    I’ve researched and tried the following fixes, but to no avail:

    1. Block indexing in robots.txt – useful, but only if there aren’t any other sites that have referenced the affected pages, so not a long-term resolution
    2. Disabled Read access to the WP-Content directory – I bet your disbelief has astounded you that this was a proposed solution, but you never know until you try. Obviously everything stopped working – no images, theme failed etc etc
    3. Disable Googlebot indexing on affected pages in Search Console, but this is only a temporary fix as the pages actually need to be fixed

    The only solution that holds any credit is to set the following code in the header of the pages:

    “<meta name=”viewport” content=”width=device-width, initial-scale=1″ />”

    Problem here is that I have no idea how to edit the WP-Content\Theme or Upload CMS files. I can find the directories through my FTP client, but since they are dynamically generated, I can’t actually get the source of the files and insert the header content where it needs to go. Any ideas anyone? Can this be done through cPanel / FTP / or the WP-Admin pages? If so, I’m not sure how to do it.

    Alternatively, another solution to fix this problem would be greatly appreciated.

    Thanks in advance.
    Justin

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • the viewport meta tag is set on your page ( form the source of your page ):

    <head>
      <!-- Define Charset -->
      <meta charset="utf-8">
      <!-- Page Title -->
      <title>
      Its Time to Change Your Lifestyle | Capoeira Valente | More than just a Martial Art  </title>
    	<!-- Responsive Metatag -->
    	<meta name="viewport" content="width=device-width, initial-scale=1" />
    

    So no need to edit here.

    Thread Starter jaydedone

    (@jaydedone)

    Thank you for your response and for helping me out. Please accept my apologies for not responding sooner – I was never notified that I had received a response.

    The front-end pages are working as expected with the meta tag, its the back-end pages that I’m having problems with. Google is indexing them because they have been referenced from other sites somehow, and I need to get the meta tag into those pages. Any example is:

    https://capoeiragp.co.za/wp-content/uploads/2016/06/

    For some reason this page (and other pages) is bringing down my mobile usability score which is having an effect on my ranking. No idea though on how to get the viewport meta tag into them through WordPress.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Viewport not set for “\wp-content/themes/” and “wp-content/uploads/”’ is closed to new replies.