Notification texts go here Contact Us join Now!

How to Remove Blogger URL Parameter (m=1) Like Fetney.com

Admin
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated
Removing blogger m=1

Blogger URL parameter (m=1) is the URL parameter that Blogger uses automatically to activate blogger conditional tags on mobile mode.

This trick is commonly referred to as "Clean URL" (neutralizes sitelinks that bloggers change automatically, and returns them to normal).

This tutorial will be needed when we want the appearance of the Blog URL (Blogger / blogspot) to be like most websites in general. No frills or parameter attributes after the domain name when it is accessed by a visitor .. both on desktop and mobile mode!

Ok, just get on with it ..

The following is How to Remove Blogger URL Parameters (m=1), when accessed via mobile I mean:

Steps to remove the Blogspot URL parameter (m=1) when accessed by mobile

  1. Login to Blogger.com
  2. Go to Themes > (⋮)> Edit HTML
  3. Then, look for the <head> tag and save the following JavaScript code right after / below it:
<script>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>

4. Save changes

Now try to access our blog URL via a smartphone / mobile browser .. 

Good luck

Post a Comment

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.