All of us understand that "simplicity is beauty." So, all through this put up, I'll manual you on the manner to dispose of "?m=1" from blogger common useful resource locator and create an easy professional typical resource locator.
© Proclud Design | Remove ?m=1 for URL |
Why you can remove "?m=1" from Blogger URL?
You do not get to get rid of it inside the context of SEO. This shows in case you do now not do away with "?m=1", it'll not affect your blog SEO in any condition, and additionally, it does now not have an effect on the google search console (Webmaster Device). But, you can take it away just for developing a smooth weblog post URL.
Let's Install ?m=1 removed JavaScript.
Important!Before we start adding codes in XML, I will recommend you to take a Backup of your current theme. By chance if any problem occurs, you can restore it later.
Step 1: First of all Login to your Blogger Dashboard.
Step 2: On Blogger Dashboard, click Theme.
Step 3: Click the arrow down icon next to 'customize' button.
Step 4: Click Edit HTML, you will be redirected to editing page.
<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 6: Now add the following JavaScript Code just above to </body>
tag. If you don't find it, it is probably already parsed which is </body>
.
Step 7: Save the changes by clicking on this icon
I hope you have got efficiently introduced this code to your blog. If you want my guide on getting rid of ?m=1 from blogger, please go away a comment approximately our paintings and tell us your opinion. We adore recognizing your mind.
Thank You.
© Copyright:
www.procluddesign.com