How to remove "?m=1" from blogger
Hello friends,
After a month I'm sharing on my blog. How to remove "?m=1" from blogger blog.
Because if we create blog using Google blogger then we get m=1 with blog address.
So here you can say good bye to this tag "m=1".
Just copy the below highlighted code and paste it on your blog template.
Also Check: How to type English to Telugu
How to hide "m=1"?
- Go to blogger.
- Now go to Template section
- Click on edit HTML.
- Search </body> and paste the below code before <body>.
- Save the theme. And say goodbye with this annoying tag.
<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>
I redesign a blogger template and use this code for remove m=1. You can check it.
Wynn Palace, Las Vegas, NV - JSM Hub
ReplyDeleteWynn Palace, Las 당진 출장마사지 Vegas, NV. The Wynn hotel is centrally 안성 출장샵 located on 청주 출장안마 The Strip, a 13-minute walk from Fashion Show Mall and 제천 출장안마 off exit 26. 남양주 출장마사지 Rating: 4.1 · 8 reviews