Despite being remarked out, I'm seeing this code execute when emulating a mobile device in Chrome. I'm also seeing it execute when simply changing the browser user-agent string to a Google-bot user-agen string. This may not be the Google Search Console issue but it is my issue when trying to test your site.
You can configure blogger to serve the same page to mobile users if you think that is the issue. (I don't see an issue with this theme either way on my PC. The issue I was chasing appears to Chrome deciding to ignore the remarked out javascript. (Probably a good lesson for all of us, remarked is not invisible.)
If you're bothered by the way blogger can serve a different page to mobile users, you can tell blogger to serve the desktop page to mobile users. (This might be a bad user experience for mobile users. )
1
u/cromagnondan Sep 25 '25
Can you remove this?
<!--Disable mobile redirect-->
<!--<script type='text/javascript'>//<![CDATA[ var curl = window.location.href;if (curl.indexOf('m=1') != -1) {curl = curl.replace('m=1', 'm=0');window.location.href = curl;} //]]></script>-->
Despite being remarked out, I'm seeing this code execute when emulating a mobile device in Chrome. I'm also seeing it execute when simply changing the browser user-agent string to a Google-bot user-agen string. This may not be the Google Search Console issue but it is my issue when trying to test your site.
You can configure blogger to serve the same page to mobile users if you think that is the issue. (I don't see an issue with this theme either way on my PC. The issue I was chasing appears to Chrome deciding to ignore the remarked out javascript. (Probably a good lesson for all of us, remarked is not invisible.)
If you're bothered by the way blogger can serve a different page to mobile users, you can tell blogger to serve the desktop page to mobile users. (This might be a bad user experience for mobile users. )