Hello Everybody, Today in this post I will show you How To Remove M=1 Suffix From Blogger Website Url. Often see URLs or post links ending in ?m=0 and ?m=1? Yes, the two link extensions are indeed absolute endings given by search engines as special extensions of the type of device used by content loaders.
Then, why should it be distinguished again? In this case, search engines have procedures that aim to find out what devices are used by users to accommodate site content. The data obtained will be used as a performance report in Google Analytics and Bing Analytics.
At this time, there are two types of devices that are commonly used to access the internet. The two devices are desktop and mobile. With the extensions ?m=0 and ?m=1, search engines will provide a traffic report by device type to bloggers or site admins.
What is M=1 Suffix in Blogger Website —
Links ending in ?m=0 indicate that the site's content is transported using desktop devices. Meanwhile, links ending with ?m=1 indicate that the site's content is loaded using a mobile device.
But based on experience, link endings ?m=0 and ?m=1 often cause crawling problems in Google Search Console. When performing URL inspections, crawler robots often index posts on two types of devices at once. As a result, the article becomes duplicate content or plagiarism.
For WordPress users, maybe this problem can be solved by using a special plugin. However, what about those who use Blogger or Blogspot ? As we know, Blogger does not use plugins to access blog features (manual). Even though there is no plugin, you can remove the two link endings by using a special script. To install the special script, follow the steps below:—
How To Remove M=1 Suffix From Blogger Url —
<!--[ Remove M=1 from Url By TechyJeeshan]-->
<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>
Conclusion —
Well, it's pretty easy isn't it? Since the suffix ?m=0 is not visible on any device, you can directly check the URL of your post using a mobile device or cellphone. If the URL is not followed by ?m=1, then this tutorial can be said to be successful.
If you want to change the template, don't forget to include the script above into the new HTML template. Make sure the script stays on top of the instructions.
Well, that's the great tutorial on How To Remove M=1 Suffix From Blogger Url that I convey in this article. if you have face any error and problem you can ask in the comment section without any hesitate. Thanks For Reading This Post.
Post a Comment
Post a Comment