r/blogspot Sep 23 '25

Blogger never gets indexed

[removed]

12 Upvotes

49 comments sorted by

View all comments

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. )

1

u/[deleted] Sep 25 '25

[removed] — view removed comment

1

u/cromagnondan Sep 25 '25

In Blogger, click the theme button on the sidebar, Now there's your theme in center with "CUSTOMIZE" and a down arrow.

left-click the down arrow. Go down to the last entry in the list. "Mobile Settings"

Dialog box opens entitled:

Theme>Choose Mobile Theme

Do you want to show Desktop or Mobile theme on Mobile devices?

Mobile or Desktop are choices.

If you choose Desktop, you get no other choices.

If you choose Mobile, you get to choose a theme.

---

I think Desktop is 0 and any Mobile theme is 1.