# Remove m=1 From URL of Blogger post
A Common search term that every blogger search is How to ?m=1 or?m=0 from blogger Post URL. We all know that "simplicity is beauty" and you want to clean permalink. So, in this article, I will guide you on how to remove ?m=1 from the blogger URL, and make a simple professional URL.
Follow the few steps below and removed ?m=1 from the URL of your blogger post.
Step 1 : First, you login into your blogger's dashboard and then select your blog.
Step 2 : Click on the Theme option.
Step 3 : Click on the customise
Step 4 : Click on Edit HTML option.
Step 5 : Press (CTRL + F) from the keyboard and type "/head" and then search. (If you are not understanding, see the below photo)
Step 6 : Now paste the below code just above the </head> tag.
let's see code :
➤ Code : mycode.js;
<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>
Step 7 : Finally Click on Save icon to save your settings and code.
Just save and go to mobile and check the permalink / URL of your blogger post. You will see that "M = 1" has been removed. Now enjoy without "m=1 or m=0" URL, Happy Blogging :)
Benefits Of Removing ?m=1 and ?m=0 :
Gives Professional Permalink to your Blog Posts.
Helps in the Better ranking is Search Engine Result Pages.
Make your Blog Post URL Short.
Comments
medical billing
PHP website development
Nice Blog, it is very Impressive.Keep Sharing With us.
learn mysql online
MySQL course in Chennai