You May Also Like

What Does the m=1 in Blogger Mean?
If you are new to Blogger you may notice that your links in mobile view are different from that of a desktop. you may notice that a new suffix has appeared "m=1". The parameter /?m=1 in Blogger is mainly for mobile view to make Blogger mobile friendly.
- m=1: means the mobile view mode is enabled
- m=0: means the mobile view mode is disabled
How to Fix the ?m=1 Blogger Mobile Redirect Problem
In today's tutorial, we will help you remove the suffix /m=1? and /m=0? too. As we all know visiting a website from a mobile or a desktop varies a lot. One of these differences is the when visiting a Blogger or Blogspot domain from mobile that suffix is added automatically. Removing that parameter helps you on how to change permalink in Blogger.
How to Disable Blogger Mobile View Parameter "m=1"?
First, follow these steps to get your template ready:- Login to you Blogger dashboard.
- Backup your template first before making any changes.
- Head to Template then edit HTML.
- With Ctrl+C to copy and Ctrl+V to paste the following codes in their appropriate places.
- Search for the line of code by hitting Ctrl+F
- Save your template and exit.
Next paste the following code just before </body> We recommend using the first code:
If your Blogger template does not accept the above code, then you can try the following one. Just follow the previous steps. You can use our free tool to convert the code from Here if you face problems.
[/* remove m=1 blogger by www.raqmedia.com/ */<script type='text/javascript'> //<![CDATA[ var urlTotal,nextPageToken,postsDatePrefix=!1,accessOnly=!1,useApiV3=!1,apiKey="",blogId="",postsOrPages=["pages","posts"],jsonIndex=1,secondRequest=!0,feedPriority=0,amp="&"[0];function urlVal(){var e=window.location.pathname,t=e.length;return".html"===e.substring(t-5)?0:1<t?1:2}function urlMod(){var e=window.location.pathname;"p"===e.substring(1,2)?(e=(e=e.substring(e.indexOf("/",1)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../"+e)):(e=(e=postsDatePrefix?e.substring(1):e.substring(e.indexOf("/",7)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../../"+e))}function urlSearch(e,t){var n=e+".html";t.forEach(function(e){-1!==e.search(n)&&(window.location=e)})}function urlManager(){var e=urlVal();0===e?accessOnly||urlMod():1===e?getJSON(postsOrPages[feedPriority],1):2===e&&(accessOnly||history.replaceState(null,null,"/"))}function getJSON(e,t){var n=document.createElement("script");if(useApiV3){var o="https://www.googleapis.com/blogger/v3/blogs/"+blogId+"/"+e+"?key="+apiKey+"#maxResults=500#fields=nextPageToken%2Citems(url)#callback=bloggerJSON";nextPageToken&&(o+="#pageToken="+nextPageToken),nextPageToken=void 0}else o=window.location.protocol+"//"+window.location.hostname+"/feeds/"+e+"/default?start-index="+t+"#max-results=150#orderby=published#alt=json-in-script#callback=bloggerJSON";o=o.replace(/#/g,amp),n.type="text/javascript",n.src=o,document.getElementsByTagName("head")[0].appendChild(n)}function bloggerJSON(o){var r=[];if(useApiV3||void 0===urlTotal&&(urlTotal=parseInt(o.feed.openSearch$totalResults.$t)),useApiV3){try{o.items.forEach(function(e,t){r.push(e.url)})}catch(o){}nextPageToken=o.nextPageToken}else try{o.feed.entry.forEach(function(e,t){var n=o.feed.entry[t];n.link.forEach(function(e,t){"alternate"===n.link[t].rel&&r.push(n.link[t].href)})})}catch(o){}urlSearch(window.location.pathname,r),150<urlTotal?(jsonIndex+=150,urlTotal-=150,getJSON(postsOrPages[feedPriority],jsonIndex)):nextPageToken?getJSON(postsOrPages[feedPriority]):secondRequest&&(urlTotal=nextPageToken=void 0,secondRequest=!(jsonIndex=1),0===feedPriority?getJSON("posts",feedPriority=1):1===feedPriority&&(feedPriority=0,getJSON("pages",1)))}function bloggerJS(e){e&&(feedPriority=e),urlManager()}bloggerJS();//]]></script>
]
Important Notice For Blogger Users
Note: The Night Mode script may not work for all the blogger templates. Always backup your template before making any changes. This code will not disable the mobile view. It just hides it.
🔔 Subscribe to our channel to get exclusive & free tech tips & hacks 🔔
If you are having a redirection problems while moving your website from Blogger to WordPress as it is the case of many bloggers who has recently migrated to WordPress. You check this detailed tutorial by Best Blog Courses:
That's it! this is how to remove ?m=1 and ?m=0 in the blogger. Now you have successfully fixed the redirection problem of "m=1" in Blogger or while migrating to WordPress. If you face any problems while implementing these codes, do share your thoughts and feedback.
We love to hear from you 😊💗.
That's it! this is how to remove ?m=1 and ?m=0 in the blogger. Now you have successfully fixed the redirection problem of "m=1" in Blogger or while migrating to WordPress. If you face any problems while implementing these codes, do share your thoughts and feedback.
We love to hear from you 😊💗.
Remove/Disable Mobile View Parameters "/?m=1" or "/?m=0" From Blogger's website URL. :)
ReplyDelete(y)
كيفية إزالة الرمز M = 1؟ او M = 0؟ من عنوان URL للمدونة
ReplyDeleteازالة الرمز ?m=1 و?m=0 في رابط مدونتك بلوجر
ReplyDeletei use adblock, and you need me to disable adblock, i hate blogger need to force disable adblock, and then i disable my adblock and send 500 fraud click to your adsence lol.
ReplyDeleteyou must know not all people like ads.