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>
nice
ReplyDeletePost a Comment