| Remove ?m=0 and ?m=1 in The Blogger |
How To Remove m1 From Blogger
When you visit a web site (blogger platform) on mobile, you noticed the address bar can have the positioning URL ?m=1, your area unit wanting a way the way to delete this? nowadays Seekhly on-line can share with you the tactic replace ?m=1 on Blogspot mobile address bar, facilitate your diary web site show a a lot of skilled while not moving the SEO.
1. First you login to your blogger's dashboard.
2. Click on the Theme option.
3. Click on Edit HTML.
4. Click once inside the box you see.
5. Press Control + F (CTRL + F) from the keyboard.
6. And Find </body>
7. Pressing Enter will take you to where it is written.
8.Copy the given below code
Code :
<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>
8. Now you have to paste the code above </body>
10. And to save the theme.
thanks for the information and code
ReplyDelete👍
DeleteNice
ReplyDelete