How To Remove ?m=1 In Blogger 2021

 How To Remove (?m=1 )From Blogger Website:



1.When Anyone See This Problem?

How to remove(?m=1) from your blogger website. When anyone creates a website from blogger and open this site from mobile. This word (?m=1) automatically add after the URL like https://www.suspensecreator.in/?m=1. 

2. Solve This Problem

Solve this problem we can take an example as a website like https://www.suspensecreator.in/?m=1.
You can see this is the picture before solving the problem.


Now Go To Blogger Dashboard Click Here.








Go To Theme>>Edit HTML





Click On The HTML Code and Press CTRL+F and Write to find </body> word

Then Copy Below Code and Paste Just Above </body> tag. Now Click Save.

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

 

After edit HTML code refreshes the website https://www.suspensecreator.in/?m=1

You can see its remove from your URL.




Thank You

1 Comments

Post a Comment

Previous Post Next Post
Post ADS 1
Post ADS 1