Skip to main content

Featured

How To Remove ?m=1 Suffix From Blogger Site’s Domain

Hello welcome to ADVERTZ ONLINE BLOG


When you created a blog using blogger, bought a custom domain and link it to your blogger blog even with the the blogspot subdomain. There’s is always a ?m=1 suffix in the domain when the blog is being accessed with a mobile. So, do you want to know how to remove ?m=1 suffix from the domain? That’s what we wanna give out in this article.

  I know most people ask 

Why  should you  remove the ?m=1 suffix?


The ?m=1 suffix needs to be removed because it looks somehow when a user visit your site and see extra suffix attached to your domain. This can discourage the visitor and bounce back from your site. Therefore, when you remove the suffix, your visitors will see your blog a unique one and it will allow them to stay on your blog for anything that brought them there.


Does The ?m=1 Suffix Has Negative Effect On My Blog?


No, the ?m=1 suffix doesn’t have any negative effect on your blog. You’re to remove it just to make your blog site unique and be friendly to the users.


How To Remove The ?m=1 suffix from your site’s domain.


To completely remove the ?m=1 suffix from your site, you just have to follow this simple steps below:


Step 1: Login to your blogger dashboard and select the blog site you wanna work on.


Step 2: Click on Layout, navigate to the sidebar, select “Add a Gadget”. A list of gadgets will be listed, select HTML/JavaScript.


Step 3: You’re to paste a script code I’m to write below in the content section. You can add anything in the Title section to identify the script Incase you’re to do any other thing there in future. Here’s the script code to input in the HTML/JavaScript content below



<script>/*<![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 protocol=window.location.protocol.replace(/\:/g,''); if(protocol=='http'){ var url=window.location.href.replace('http','https'); window.location.replace(url);} /*]]>*/</script>



Step 4: After inputting the code, make sure you make the widget visible and then click on Save.

You’re now good to go. Reload your blog site and it’ll change from https://example.com/?m=1 to https://example.com/. Is that one not okay? Yes, it’s okay.


Feel free to drop a comment below if there’s anything you’ll need help on.

Comments