How to Remove ?m=1 Text From Blogger URL

ADMIN
Hello! Welcome to Tecky AaryaN. 

You are looking for How to Remove ?m=1 Text From Blogger URL then this post is just for you.

© Copyright 2023 Tecky AaryaN 

Today we will learn how to remove ?m=1 text from the Blogger URL (Link), Solving this problem is very easy. Whenever we create our blog on Blogger.

When we open our blog on a Desktop, your URL appears correctly. But if we open our blog on mobile, then ?m=1 text appears behind our URL.


Easy way to Remove ?m=1 from the blogger URL

Step 1: First of all go to the blogger dashboard

Step 2: After that go to Theme and then click on the EDIT HTML option.

Step 3: Now Search the </body> tag in your HTML code & Paste Above The </body>tag.
<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);

}

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 4: Now Click On save Button.

Conclusion

I hope you have successfully Remove ?m=1 in Site Url. If you are facing any problem in any section or you have any question then ask us in the comment box. 

Copyright: 


Telegram
Tags