What is ?m=1 :- When you create a blog website, then there was a one problem in blogger url. When you or other visitors open your website from mobile then your blog website show https://www.google.com into https://www.google.com/?m=1.
Why remove ?m=1 from blogger url :- There is no any problems with ?m=1 but after sometime. If you want to convert your blogger website into wordpress. That time you will face many issue and unable to convert your website into wordpress. In this article i will solve your problem. How to remove ?m=1 from blogger.
Related Post
How to remove ?m=1 from blogger.
- Open your bloggger dashboard
- Go to theme.
- Click on drop down menu near of customize button.
- Click on edit HTML, before you edit HTML backup your theme.
- After click in edit HTML, One click on given HTML code area.
- Press Control +F (ctrl + f)
- Find </body> tag.
- Make a space above </body> tag.
- Copy code from given below.
- Past code above </body> tag.
- Click on save theme.
<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>
Now, Go to your mobile browser and open your blog website and cleck your ?m=1 in your blog website URL. You will be exitesed now because ?m=1 is remove from you blog website URL. How to fix ?m=1 from blogger URL. Thank you, stay with us for more blogging knowledge.