easy step to remove m=1 without hurting on your blog SEO
Why you need to remove "?m=1" from the blogger URL?
- the first reason is that if you see your website loading speed in google page speed insight. in page speed insight if you see that the main reason for the slow loading speed of your website is "?m=1".
- Another reason is that every blog URL does not look good even after that, if we copy the URL and want to send it to others, it also contains m = 1 one blog URL, it is very irrelevant.
- "?m=1" not look user-friendly link. But you can only extract it to create a user-friendly blog post URL.
the simple step to remove? m = 1 from blogger URL
- Open your Blogger dashboard and click on the Layout.
- Click on Add a Gadget and select HTML/JavaScript.
- Now copy the code provided below, and paste it on the HTML/JavaScript Gadget that you have added recently.
<script>/*<![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);}; var protocol=window.location.protocol.replace(/\:/g,''); if(protocol=='http'){ var url=window.location.href.replace('http','https'); window.location.replace(url);} /*]]>*/</script>