We are also on YouTube! Subscribe

How to Remove ?m=1 from Blogger URL? (4 Easy Steps)

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

Hello Everyone! Welcome Back to TechiFeed. I have written a new informative post for you to read. So, Keep reading to find out more!

You may already know that when a mobile device accesses a Blogger site, the URL has ?m=1. Most people don't like it because it looks strange.

Remove ?m=1 from Blogger URL

Remove ?m=1 from Blogger URL


Your website will look more professional if the URL is clear, and you shouldn't have different URLs for mobile and desktop users.

This article will explain removing?m=1 from the Blogger's website. I'll also tell you whether you should put this on your site.

Why does Blogger put ?m=1 in the URL for mobile sites?


Most old Blogger themes don't use responsive design, and Blogger itself needs to be updated. Most themes have different versions for mobile and desktop.

Therefore, the Blogger inserts the ?m=1 parameter to the URL to correctly determine the Device. So, this is the structure of a URL. Let's say someone reads your blog on a phone or tablet.

https://www.techifeed.com/?m=1

This URL parameter doesn't need to be changed since most new themes are responsive and don't show different versions for different screen widths.

This URL parameter doesn't need to be changed since most modern themes are fully responsive and don't show different versions for different screen sizes.

There is no permanent answer to this problem right now. But if someone visits your website from a mobile device, you can show a clean URL.

To do this task, you need to use a script. Let's look at how you might fix the ?m=1 problem on the Blogger site.

How to Get Rid of Blogger ?m=1


These are the Steps for removing the ?m=1 at the end of your Blogger URL.

Step 1: Go to the dashboard of Blogger and click on "Theme."

Step 2: Select "Edit HTML" after clicking the Down arrow.

Step 3: Put the following code below the <head> tag or 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);
}
//]]>
</script>
Step 4: Save the code. It will remove the ?m=1 tag from the mobile version of the blogger website.

The critical question is whether you should use a script to remove ?m=1 from your Blogger site.

Does it affect the SEO of your blog, and does it make the Blogger run faster?


The answer is trickier. Using this script won't remove ?m=1 from the blogger URL. It sends the user's browser back to the original URL instead.

If you want a clean URL, put it below the tag in your theme file.

Also, remember that it doesn't make a big difference in performance and that the server response time, not the redirect, affects how fast the page loads.

On our Blogger blog, I don't use this script. But there is no reason not to use this script.

Frequently Asked Questions


What is the "?m=1" in my Blogger URL?

The "?m=1" is a mobile version parameter that Blogger automatically adds to the URL when users access your blog from a mobile device.

Why do I want to remove the "?m=1" from my Blogger URL?

Removing the "?m=1" can improve the appearance of your URL and may also improve your search engine optimization (SEO) by eliminating duplicate content.

Will removing the "?m=1" from my Blogger URL affect my mobile readers?

Removing the "?m=1" will not affect your mobile readers. They will still be able to access your blog and view the mobile version of your blog.

Will removing the "?m=1" from my Blogger URL affect my analytics?

Removing the "?m=1" from your Blogger URL will not affect your analytics. It will still track the number of views on your blog, regardless of whether the "?m=1" is present in the URL.

Stay Connected

I hope you liked the above informative content. Please share this post and follow our blog for more great content.

If you have any questions or problems, feel free to ask in the comments section.

© Copyright: TechiFeed

About the Author

Hi, I am a good student and a part-time blogger.

Post a Comment

To avoid SPAM, all comments will be moderated before being displayed.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser. The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.