at the end of a Blogger URL indicates that the

How to Remove ?m=1 in Blogger URLs

If you’ve been using Blogger, you might have noticed ?m=1 appearing at the end of your blog URLs, especially when visiting from mobile devices. This little parameter tells Blogger to display the mobile version of your blog. While it’s harmless, it can sometimes affect SEO, analytics, and the appearance of shared links.

What is ?m=1?

The ?m=1 at the end of a Blogger URL indicates that the mobile version of a page is being displayed. For example:

Note

https://yourblog.blogspot.com/?m=1

This URL will show the mobile view, while the clean version would be:

https://yourblog.blogspot.com

Why Should You Remove It?

  • Better SEO – Search engines may see URLs with ?m=1 as duplicate content.
  • Cleaner Sharing – Links without ?m=1 look professional and are easier to share.
  • Accurate Analytics – Tracking your blog traffic becomes simpler without separate mobile URLs.

How to Remove ?m=1

There are a few ways to handle it:

<script type='text/javascript'>
  <!-- Bas SSR TECH -->
//<![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);
}
//]]>
</script>

1. Show Desktop Theme on Mobile

If you don’t mind visitors seeing the desktop version on their phones, you can disable the mobile template in Blogger. This stops ?m=1 from appearing entirely.

2. Use Responsive Templates

Modern Blogger templates automatically adjust to mobile screens without adding ?m=1. Switching to a fully responsive theme solves the issue while keeping your blog mobile-friendly.

3. Share Clean URLs

When posting links on social media or messaging apps, simply remove ?m=1 from the URL before sharing.

Quick Tips

  • Check your blog links after publishing to ensure they appear clean.
  • Combine a responsive template with canonical URLs to avoid SEO issues.
  • Keep your readers’ experience in mind: clean URLs are easier to remember and share.

Final Thoughts

Removing ?m=1 is a small step, but it improves the professional look of your blog, boosts SEO, and makes your links share-friendly. For the best results, use a responsive Blogger template and regularly check your URLs.

Clean URLs make your blog look polished and trustworthy to both readers and search engines. ✨

Post a Comment

Previous Next

نموذج الاتصال