শহীদ আবু সাঈদের স্মরণে !

তুমি মারা যাও নাই বীর শহীদ আবু সাঈদ। তুমি অমর হয়ে আছো এবং ভবিষ্যতেও অমর হয়ে থাকবে বাংলার প্রতিটা মানুষের হৃদয়ে!!

How to Remove ?m=1 Text From Blogger URL

How to Remove ?m=1 Text From Blogger URL

 

How to Remove ?m=1 Text From Blogger URL

Today we will learn how to remove ?m=1 text from the Blogger URL (Link), Solving this problem is very easy. Whenever we create our blog on Blogger.

When we open our blog on a Desktop, your URL appears correctly. But if we open our blog on mobile, then ?m=1 text appears behind our URL.


How to Remove ?m=1 Text From Blogger URL


Step 1: First of all go to the blogger dashboard

Step 2: After that go to Theme and then click on the EDIT HTML option.

Step 3: Now Search the </body> tag in your HTML code & Paste Above The </body>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);

}

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 4: Now Click On save Button.

Conclusion

I hope you have successfully Remove ?m=1 in Site Url. If you are facing any problem in any section or you have any question then ask us in the comment box. 

Post a Comment