How To Redirect Blogger Mobile Template To Desktop Template

In This Tutorial I am Going to Share With You How to Redirect Mobile Version Template to Non-Mobile Template i.g Desktop Template in Blogger  or also Share Some Way to Remove "?m=1" from Blogger. or How to Replace ?m=1 with ?m=0 in Blogger.

When someone viewing your web blog in mobile phone or tablet, the user will be automatically redirected to the mobile version of your web blog. 
Now, If you see the URL of Web browser or web browser's address, you can see the "?m=1" part in your blog address. (Generally You can see in Mobile View)

?m=1

In mobile version, blogger will be applied one of their basic mobile themes to your site. These themes are not looking good GUI or you can say User Interface. When someone browse your web blog using a mobile phone or tablet. It will be useful if you are using a responsive blogger template.

Now Let's See How to Remove "?m=1" or replace "?m=0" Step By Step

Step 1: Login Blogger Account.

Step 2: Open Your Blog.

Step 3: Choose Template.

Choose Template


Step 4: Click Edit HTML.

Edit Template


Step 5: Now, Add this code just after <head> tag of your web blog:

<script type='text/javascript'>
        //<![CDATA[
        var curl = window.location.href; if (curl.indexOf('m=1') != -1) { curl = curl.replace('m=1''m=0'); window.location.href = curl; }
        //]]>
</script>

After write JavaScript in between <head> it will look like:

Example


Step6: Save Template.

Now When Someone Visit to Your web blog with using a mobile phone or tablet, "?m=0" will be added to the blog address instead of "?m=1" in URL. 


Previous
Next Post »

If you have any kind of question about any post, Feel free to ask.You can simply drop a comment below post. Your feedback and suggestions will be highly appreciated. ConversionConversion EmoticonEmoticon