How to Remove ?m=1 in Blog URL

How to Fix  ?m=1 Issues in Blogger  URL


Welcome Friends, In this article we discuss the Moblie View issues in Blogger URL. Some of the URL Ends with ?m=1.So I will show you How To Remove ?m=1 URL Issues in Blogger. It is a basic issue for all bloggers. So you no need to worry about these URL issues.

Let See The Steps to Fix ?m=1 in Blogger

STEP 1:Go to Blogger.

STEP 2:  Select the Theme → Customize â†’ Edit Html.

STEP 3: Press Ctl+F  And Find The </body> Tag.

STEP 4: After Find the Body. 

STEP 5:Tag Paste the Code Above </body> Tag. Code is given below.


CODE

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<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>

            

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top