How to permanently remove ?m=1 from URLs in Blogger
Discover how to eliminate the ?m=1 parameter from your Blogger URLs to improve indexing and optimize your blog's performance.
How to permanently remove ?m=1 from URLs in Blogger
Discover how to eliminate the ?m=1 parameter from your Blogger URLs to improve indexing and optimize your blog's performance. If you have a blogger blog, you might have noticed that every single webpage of your blog gets redirected to url with appended query parameter m=1 when visited on a mobile device. I personally don't like this behaviour of blogger. According to Blogger, there is no problem with this redirection. But issues like Alternative page with proper canonical tag and Page with redirect for many urls blow up in your Search Console and most of them might be caused due to this redirection. Why I am telling you issues Alternative page with proper canonical tag and Page with redirect for most of urls, are caused due to this redirection? Let me explain. Suppose Google smartphone crawler crawls a post /2025/01/post.html found in /sitemap.xml , it gets redirected to /2025/01/post.html?m=1 since it is a smartphone crawler and hence the url /2025/01/post.html is marked as Page …
About the author
Lost in the echoes of another realm.
7 comments
Admin
please help me to fix this problem after i add this code to my website it show link in desktop www.exemple.com/?m=0
Deø Kumar
I have been using the same code for more than a year and I never faced such issue. I need more information in order to get it fixed.
DESLAB
I also had the problem that after using the code, ?m=0 was added in the desktop
DESLAB
remove return "desktop"; will fix it
Deø Kumar
If you see ?m=0 after only opening a post url from homepage, it is probably the link itself containing the ?m=0 in its href attribute.
Admin
this issue happen too on your website when click on certain labels in right sidebar
Deø Kumar
The issue is resolved and the post is updated, update your workers code.