How to remove? M = 1 and? M = 0 when accessed via a mobile device - BLOGHINT

How to remove? M = 1 and? M = 0 when accessed via a mobile device

Encrypting your link and protect the link from viruses, malware, thief, etc! Made your link safe to visit.


One of the reasons why you want to remove? M = 1 and? M = 0 When Accessed via a Mobile Device is that you have used a responsive theme on your blog so that the special mobile display provided by default is no longer used besides that to avoid duplicate title tags because There are other parameters that affect the SEO of a blog.


Maybe here also from my friend who wants to fix Disqus comments that come in, because the Disqus system reads parameters from blog pages accessed from? M = 1 and? M = 0. So that it will make a difference from Disqus comments that enter when accessed via? M = 1 cannot be read on the desktop and vice versa.

Then, how do you remove the blog URL parameter on a mobile device? Alright, please follow these easy steps.

How to remove? M = 1 and? M = 0 when accessed via a mobile device


You can use it, but at your own risk

The first step, open Blogger > Click the Themes menu > Click Edit HTML > Then find and add the code below just before</body>

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

Then click the Save theme button and you're done. Yes, that's all you need to add.


By adding this code, now your blog URL will not display the parameters? M = 1 and? M = 0 when accessed via a mobile device.

That's the way to get rid of? M = 1 and? M = 0 when accessed via a mobile device that Arlina Code can share. Hope it helps and issalam.

0 Response to "How to remove? M = 1 and? M = 0 when accessed via a mobile device"

Post a comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel