Why does Blogger add ?m=1?
Blogger uses "Parameter Queries" to determine which version of your site to show:
- ?m=1: Served to mobile devices.
- ?m=0: Served to desktop devices (occasionally seen during redirects).
While it helps Blogger’s internal system, most modern Responsive Themes don't actually need this parameter to look good. Removing it gives your site a "Premium" feel, similar to WordPress.
How to Hide ?m=1 without Breaking Your Site
We will use the HTML5 History API. This method is safe because it changes the URL in the browser bar after the page has loaded, meaning it doesn't interfere with Blogger's ability to load your mobile theme.
Step 1: Access Your Theme HTML
- Log in to your Blogger Dashboard.
- Navigate to the Theme tab on the left-hand menu.
- Click the down arrow next to the "Customize" button and select Edit HTML.
Step 2: Insert the Magic Script
Scroll to the very bottom of your code and look for the </body> tag. Just above that tag, paste the following code:
Step 3: Save and Test
Click the Save (Disk icon) at the top right. Now, open your blog on your phone. You will notice that for a split second, the ?m=1 appears, and then it immediately disappears, leaving you with a clean, professional URL!
Important SEO Bonus: The Canonical Tag
To ensure Google doesn't get confused by the mobile and desktop versions of your pages, make sure your theme has a Canonical Tag.
Search for <head> in your Blogger HTML and ensure this line is present near the top:
<link expr:href='data:blog.canonicalUrl' rel='canonical'/>
This tells Google: "Even if you see ?m=1, the official version of this page is the clean URL."
Cleaning up your URLs is a small step that makes a huge difference in the user experience of your blog. It’s a "set it and forget it" trick that every professional Blogspot user should implement.

