How to remove /?m=1 from blogger url-
Hey Guys, in today's blog, we will read how to remove ?m=1 from blogger url remove code use. install to your Android mobile vs code editor . Earlier I have shared a blog on how to remove ?m=1 from blogger url remove code.
- 1st you login to your blogger's dashboard.
- Click on the Theme choice.
- Click on Edit HTML.
- Click once within the box you see.
- Press management and App (CTRL + F) from the keyboard.
- Write down the search box you see within the corner and press enter.
- Pressing Enter can take you to wherever it's written.
- currently you have got to stick the code below.
- And to save lots of the theme.
Here the Html code for blogger removing ?m=1
<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>
Post a Comment