How To Remove ?m=1 from Blogger URL (Step-by-Step Guide)

Learn how to delete the ?m=1 parameter from your Blogger website URLs to improve indexing and improve your blog's speed.
Aisosa
How To Remove ?m=1 from Blogger URL (Step-by-Step Guide)
Learn how to delete the ?m=1 parameter from your Blogger website URLs to improve indexing and improve your blog's speed. Why does Blogger display ?m=1 in Mobile URL Method 1(Client side): Remove ?m=1 from Blogger using Javascript and History API Follow these steps to remove the ?m=1 parameter from the blogger blog URL; Steps #1: log in to your Blogger dashboard and click on the Theme section Steps #2: Click on Edit HTML to modify your theme code Steps #3: Add the following script immediately below the <head> tag in your HTML code <script type='text/javascript'> //<![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&…

About the author

Aisosa
Hello there. I'm Aisosa, a Full-stack web developer and a digital entrepreneur.
Buy Aisosa a beer

Post a Comment