Blogger How To Problem Solve. "blogspot.com/?m=1"
How To Problem Solve. "?m=1" From Blogger URL (Easy Fix) | Way 2 Blogging
How to remove ?m=1 from Blogger or Fix ?m=1 in Blogger URL
As you know Blogger shows ?m=1 in URL when someone visits the site from Mobile devices. It looks a little odd and most of the users don’t like this.
Having a clean URL gives your website a professional look and you don’t want separate URLs for Desktop and Mobile devices.
So, In this article, I will show you how you can Delete the ?m=1 URL parameter from your Blogger website. I will also tell you should you implement this on your website or not.
Why Blogger shows ?m=1 in Mobile URLs ?
Blogger is quite outdated now and earlier most of the Blogger themes doesn’t use the responsive design. Most themes show different versions for Desktop and mobile users.
So, to identify the Device properly Blogger introduces the concept of ?m=1 parameter in the blogger URL. So, whenever Someone accesses your Blog from Mobile or tablet, it will show a URL structure like this.
https://technet2021.blogsopt.com/?m=1
As most modern themes use a responsive design and don’t display separate versions for different screen sizes, there is no need for Changing this URL parameter.
Currently, there is no permanent fix to this problem, but you can display a clean URL to the visitors when they land on your website through a mobile device.
Here, you need to use a script that does the job for you. So, let’s check how you can fix the ?m=1 problem on the Blogger website.
Search engine optimization is necessary for a internet site to rank. If you are going for walks a Blogger weblog and dealing with /?m=1 in the Blogger search engine optimisation and desire to cast off this? Then this article will assist you.
The Blogger CMS is designed in a way that canonical URL serves to computer and canonical URL+/?m=1 to cellular users, which reasons indexing issues. In this article, we are going to provide an explanation for how to restore the Blogger /?m=1 difficulty for the Blogger blog.
Blogger /?m=1 website positioning Solution.
But if you're & nbsp; looking solely to cast off /?m=1 from the stop of the internet web page URL, this & nbsp; post is now not for you as we're now not right here to damage the on-Page SEO website.
You can add some script and & nbsp; remove /?m=1, but & nbsp; search engines will & nbsp; punish your weblog via reducing your blog’s web page rank.
To remove the ?m=1 from Blogger URL, follow the below steps.
Step-1: Go to 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
"javascript" just below the <head>
<body mideal "HTML javascript tag.
Now you have to add below <hide> . just below "javascript" above <body> "HTML javascript tag.
How to remove and problem solve.
?m=1 from Blogger URL
<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-4: Now save the code and the ?m=1 will be removed from the blogger website for mobile devices.
If the above code is not working well then you can use the below code to remove the ?m=1 from the Blogger URL in Mobile.
<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>
Now the largest query is need to you eliminate them ?m=1 from your Blogger internet site the usage of a script or not?
is it have an effect on your Blog search engine optimisation and does it enhance the pace of Blogger?
Well, the reply is a little tricky. Using this script doesn’t eliminate the ?m=1 from the blogger URL permanently. Instead, it once more redirects this URL to the unique URL in the user’s Browser.
So, if you favor a easy URL then you can use it simply beneath the tag of your theme file.
And be mindful that it doesn’t enhance the velocity that tons and the pace fluctuation is now not due to this redirect, it is due to the server response time.
In fact, I am now not the use of this script on my Blogger site. But there is no hassle the use of this script.
Removing the ?m=1 from the cellular URL offers your internet site a expert seem and you can strive this on your website.
Complete The Blogger (blogspot.com/?m=1) Error Problem Solve.
No comments:
Post a Comment