For those of you who are bloggers on the blogger platform, you must have seen the code m = 1 or m = 0 when you shared an article.
The code will appear if you access the blog using a smartphone and it indicates that you are accessing it using a smartphone.
The reason why bloggers lose competitiveness with other platforms such as wordpress is because of that, the permalink that exists on the wordpress platform is much simpler than blogs that contain dates and code m = 1 or m = 0.
Now for those of you who feel uncomfortable with the existence of the code, actually you can delete the code from the permalink, and if you want to know how to go along, follow the tutorial below.
How to Remove Code m=1 and m=0
1. Go to blogger> go to Edit HTML> and look for the code </body>,
2. Copy the javascript code below and place it directly above the </head> code,
<script type='text/javascript'>
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>
3. Finally save or save the template.That's a short tutorial on how to delete the code m = 1 or m = 0 that I can share and hopefully useful for all my friends
