SparkBlogger Is An Ultimate Resources Site For Blogging, Tutorials, Templates, Widgets, Seo, Codes, Latest News, Tips & Tricks And Many More!!

How to remove “m?=1” parameter from blogger

Learn how to remove the unwanted "?m=1" parameter from Blogger URL to improve the appearance and professional look of your website.

Keeping things simple is often considered a good thing, and it can really make a big deal for visitors to your website. When it comes to website URLs, having a clean and professional-looking URL can help to improve the experience of your user.

I understand that many bloggers have been struggling to remove the “?m=1” parameter from their Blogger URLs when viewed on a mobile device. It can be frustrating when you’re trying to create a great user experience for your readers but are facing difficulties with something seemingly small like this.

That’s why I’m here to help you! In this article, I’ll be providing you with a comprehensive guide on how to remove the “?m=1” URL parameter from your Blogger URLs effectively without any SEO issues. With this information, you’ll be able to create a clean and professional-looking URL that will really make a positive impact on the user experience of your blogger blog.

Why Does Blogger Show “?m=1” in Mobile URLs? 

It is important to understand why the “?m=1” parameter appears in the URL when someone visits a Blogger website from their mobile device. This parameter “?m=1” is added to show that the website is being accessed from a mobile device, as opposed to a desktop computer or laptop. This allows the website to display a mobile-optimised version of its content, which is designed to be more easily viewed and navigated on smaller screens.

While the “?m=1” parameter serves an important function in making the website accessible to mobile visitors, some blogger blog owners may prefer to have a cleaner, simpler URL that does not include this parameter. By removing “?m=1” from the URL, the blogger can create a more professional-looking URL that is easy to share and remember.

In conclusion, it is important for bloggers to be aware of the “?m=1” parameter and its impact on the mobile viewing experience of their website. By taking the steps to remove this parameter, blogger blogs can enhance the overall appearance and functionality of their site, providing a better user experience for their visitors. With a simple and straightforward process, bloggers can achieve a clean and professional website URL, making it stand out among the competition.

Why Do You Need To Remove “?m=1” From Blogger URL?

There are several reasons why bloggers may choose to remove “?m=1” from their URLs. One of the main reasons is aesthetics. The inclusion of “?m=1” in a URL may detract from the overall professional appearance of a blogger’s website, particularly when compared to sites built using platforms like WordPress. For bloggers seeking to enhance the look and user-friendliness of their sites, removing this parameter can be a valuable step.

Another reason is technical. The “?m=1” parameter can sometimes cause canonical errors in google search engines. This occurs because, even though the entire URL is the same, the presence of “?m=1” can be interpreted as a different page version. This can cause issues with indexing and ranking in search results.

Steps to remove “?m=1” from Blogger

To remove the “?m=1” parameter from the URL of your blogger website, follow these steps:

Step 1: Log in to your Blogger dashboard and navigate to the theme section.

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

Step 3: Locate the <head> section of your blogger theme and add the provided script just below it.

<script type='text/javascript'>
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);

Step 4: After adding the code, save your theme and refresh the blogger blog.

Step 5: Finally, go to your blogger blog on a mobile device and check whether the “m?=1” parameter is removed or not.

If the above code is not working well then you can also use the code which is given below to remove the “m?=1” parameter from the Blogger URL on mobile devices. 

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

The Bottom Line

It’s important to note that using the provided script to remove the “?m=1” parameter from the URL may not result in a noticeable improvement in speed. The fluctuation in rate is often due to the server response time and not necessarily the redirect itself. You can also use webP images for improving the blogger’s website speed. However, using the script does not cause any harm.

If you have any further questions or concerns regarding this topic, feel free to leave them in the comments section or join our official Telegram group.

Abhishek Pratap Singh

Abhishek Pratap Singh

Abhishek, is a passionate blogger, web developer, and digital marketer with years of experience in the industry. With a keen eye for detail and a deep understanding of the blogging world, Abhishek has become a trusted and respected voice in the blogging community.

Articles: 2

Leave a Reply

Your email address will not be published. Required fields are marked *