- 130
Hello-
Google has recently announced that they will be penalizing sites with mobile-usability issues.
When you run their mobile-friendly report, it shows all of the Producttabs/ProductCustomTabs are problematic due to not having a viewport configured. I realize that these "pages" are never viewed as stand-alone pages, but do not want to take any chances that google will demote our SERP.
I added a viewport meta tag to each of the producttabs code, like so:
_ProductCustomTab.cshtml
@using Nop.Web.Framework
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<div class="custom-tab">
@Html.Raw(Model)
</div>
This at least causes those errors to disappear, but then it reports many issues with the reviews tab pages because the recaptcha box doesn't fit inside the viewport...and many touch elements are too close, etc..
I am wondering if it would be possible to just add the tabs "pages" or directory to the robots file as nofollow?? Then maybe google will ignore them completely?
How can this be done?
Thanks,
Steve
Google has recently announced that they will be penalizing sites with mobile-usability issues.
When you run their mobile-friendly report, it shows all of the Producttabs/ProductCustomTabs are problematic due to not having a viewport configured. I realize that these "pages" are never viewed as stand-alone pages, but do not want to take any chances that google will demote our SERP.
I added a viewport meta tag to each of the producttabs code, like so:
_ProductCustomTab.cshtml
@using Nop.Web.Framework
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<div class="custom-tab">
@Html.Raw(Model)
</div>
This at least causes those errors to disappear, but then it reports many issues with the reviews tab pages because the recaptcha box doesn't fit inside the viewport...and many touch elements are too close, etc..
I am wondering if it would be possible to just add the tabs "pages" or directory to the robots file as nofollow?? Then maybe google will ignore them completely?
How can this be done?
Thanks,
Steve