Type Here to Get Search Results !

How to remove /?M=1 from Blogger URL

{100% Working} How to remove /?M=1 from Blogger URL in 2 Minutes



showing /?M=1 in the blogger post url is looking not professinal and I know you also hate it. I personally very hate it. That is why you are searching on google about how to remove ?M=1 from blogger url. 

When?M=1 is showing in blogger URL?

When it occurs?

before going a head for removing ?M=1 from blogger url, you need to understand why it is showing and what does this ?M=1 mean.


This ?M=1 shows in URL when a visitor visit your website from a mobile device. this ?M=1 represent the mobile device. very bad efect. It will not show when someone visited blogging website from desktop or laptop. This only shows when someone visited your website from any mobile devices.

I will tell you how can you remove ? M=1 from blogger post in just 2 minutes.

Let’s get started without wasting any time.


Why you need to remove “?m=1” from blogger URL?

Step By Step Guide to remove ?m=1 from blogger URL - 


STEP 1 : Open your Blogger dashboard & click on the theme section.



STEP 2 : Click on cutomize button and go to "edit html" section.



STEP 3 : After entering in to html section <head> . 

1) search <head> tag

2) <head> - tab enter

3) And paste code

4) Save theme.



STEP 4 : Now, you have to copy the below given code and just paste it above the <head> tag. See below image for better understanding.

-----------------------------------

<script type='text/javascript'> //<![CDATA[ var uri = window.location.toString(); if (uri.indexOf("%3D","%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("%3D%3D","%3D%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D%3D")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("&m=1","&m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("&m=1")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("?m=1","?m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?m=1")); window.history.replaceState({}, document.title, clean_uri); } //]]> </script>

-----------------------------------


STEP 5 : Now just click on save button.


Now the biggest question is should you remove the ?m=1 from your Blogger website using a script or not working?


Complete step follow and remove remove the ?m=1 from your Blogger website.


Full details Video -



Tags

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.