Monday, October 14, 2024
₹0.00

No products in the cart.

0
HomeBloggerHow To Remove "?m=1" From Blogger URL (Fix problem)

How To Remove “?m=1” From Blogger URL (Fix problem)

Hi guys, welcome to Kkytbe If You want to remove “?m=1” From your Blogger website. but don’t know how to Remove “?m=1” From Blogger URL?

today’s blog post I will help you. How To Remove “?m=1” From Blogger URL (Fix problem).

So, read this complete blog post and you also easily Remove “?m=1 from your blogger website.

How to remove ?m=1 from Blogger Url

To remove the ?m=1 from Blogger, follow the below steps.

Step-1: Go to the Blogger dashboard and select the theme option.

Step-2: Now click on the “Edit HTML” option from the drop-down menu.

Step-3: Now you have to add the below script just below the <head> tag.

<script>/*<![CDATA[*/ 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 save the code.

If the above code is not working well then you can use the below code to remove it from the blogger website for mobile devices.

<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>

FAQ’s

How To Exclude ? m=1 From Blogger

Open Blogger.com , Choose Your Blog.
Go To Theme And Choose Edit HTML From Drop Down Option.

How to fix the m 1 URL issue after migrating from Blogger to WordPress?

You can just place the code in the first line of your . htaccess file. Just press enter two times to “clear” the first line and paste to code in there. If it does not work, please post a link to your website!

Follow Me On Social Media

RELATED ARTICLES

2 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Populer