Home
About me
Advertise
Sitemap
Wordpress SEO
Contact
SEO jargon busters
RSS feeds
Daily SEO Blog
Dec
22

How to detect mobile browsers & Redirect mobile users to another URL

Mobile detection is not difficult to implement on WordPress, just grab any of these plugins and plug it in. Or you can try these mobile version creation tutorials. You get a mobile theme right away. Many of them are awesome too. In fact, I’ve tried more than one and quite honestly, they are really good. The only problem you encounter if at all, would be compatibility issues with other plugins such as the cache plugins. And also some plugins do not detect all the browser agents, can’t really say that’s a problem but, you know…

I’ve tried the mobile Wordpress themes as well and found that sometimes, things can get quite out of hand, like when I tried browsing from Opera, it gave me the mobile version, now that’s something you don’t want to happen with your visitors.

So, here’s an easy work around I found, with help from Lijeesh.

Instead of switching to a mobile theme, I thought why not do something simpler, and of course more reliable ?

The easiest way I found is to redirect mobile visitors to you Google blog reader feed. Amit has a “trick” here, where he explains how you can append the feed reader URL, and get a mobile version of your feeds. After this, using a mobile browser detection script, you can easily redirect the users to your “mobile page”. Here’s how. (Amit does not explain how to automatically redirect mobile users, but this one is a “install and forget” kind of a work around)

Google Reader Mobile Version

Step 1
Download the Mobile browser detection script from here.

Step 2
Upload the script to your theme folder
That would be yourdomain/wp-content/themes/yourthemefolder/

Step 3
Go to your Theme Editor, and then functions.php

Step 4
In functions.php, soon after the php opening tag, add this code –

require_once('mobile_device_detect.php');
mobile_device_detect(true,true,true,true,true,true,"http://www.google.com/reader/m/view/feed/http://feeds.feedburner.com/DailyDose4me");

Make sure you change the feed URL (in my case – http://feeds.feedburner.com/DailyDose4me) to match your blogs. That is after the feed/ portion.

That’s it, now close and check via a mobile phone.

Advantages

I realize that there are lot of work arounds available to achieve the same but I found this amazingly simple. Or may be its because I like the idea of redirecting mobile users to the Google reader version effective, because while you do it, you’re actually making it really simple.

- Users can easily subscribe via Google reader
- Your AdSense ads are not missed out (some mobile themes skip it)
- Everything you put into your RSS feeds, show up on the mobile version as well
- No theme glitches, downtimes or screw ups (Unless Google scres up, which is very unlikely)

Do let me know your thoughts, if it worked or not with you.

SEO Auditor Features
- Complete SEO audit
- Competitor Analysis
- Report generation
Try it today !
Link Assistant Features
- Easy Link Building
- Finds link partners
- Get backlinks regularly
Try it today !
Rank Tracker Features
- Rank Check reports
- 558 Search Engines
- Keyword Research
Try it today !



Possibly related SEO & Social Media Articles

  • 10 Easy Tutorials to create a Mobile version of your blog in minutes !
      If you haven’t switched to a mobile version of your blog/site, then you are really missing something. Today a good amount of people search for information on mobiles/mobile search and its not far away when all websites “will have to” go mobile if they want to catch up. As in all cases, the early [...]...
  • A Magazine like wordpress theme (similar to ProBlogger) from Arun Kale
    Arun Kale is the editor at the Split-magazine. Well, he probably knows best what are the features in a magazine that can be incorporated to a wordpress theme. And he did just that by coding an ultra cool wordpress theme – The Morning After. The Morning after, is a magazine like wordpress theme that is sleek, [...]...
  • PicSquare launches photo blogs for users
    PicSquare, which provides “photo based gifts” services in India, has come up with a new feature for their users. A photo blog, where users can upload and store pictures like albums or blogs – a photo blog as they would call it. Manish says – To continue our effort to provide best value in online photography [...]...
  • Make your blog mobile friendly with cool plugins
    Well, if you are on wordpress things are easy. Number of users accessing internet through their mobile phones are increasing these days and all major portals and search engines have already converted their blogs to mobile friendly versions. Bloggers today stand at a point where there are lot of archives and it’s going to be [...]...
  • Create a SEO mobile version of your wordpress blog
    One of the white hat SEO methods Matt Cutts suggested to bloggers during the WordCamp 2007 is to create a mobile version of your blog. He thinks this is important because, in the future, mobiles will be used to search for more content than now. So make sure you equip yourself for the big [...]...

Category: Wordpress SEO | Author: Mani Karthik
SEO Wordpress Themes
  1. JoshNo Gravatar

    The only problem would be the Adsense part. Adsense for mobile is entirely different from the normal Adsense for content Ads that you use on websites. And those ads won’t show up if you browse using a mobile device.
    Since we aren’t using any separate theme for mobile devices, where should we put the Adsense for mobile devices Ad code?

    Reply

    Mani KarthikNo Gravatar Replied:

    Hi Josh, When I tried accessing the page via mobiles/iphone, the RSS feeds AdSense showed up. Not sure if this is what you were looking for an answer though.

    Reply

    JoshNo Gravatar Replied:

    Okay, I see that you have implemented the ‘trick’ that you described here.
    I used a Nokia 5800 XM and tried visiting dailyseoblog.com using both the default OSS browser and also Opera’s mobile edition.
    While Opera took me to the normal web version (which I am seeing here now), Nokia’s OSS browser took me to the G Reader.
    But in either cases, the Ads didn’t appear. I do have Java enabled on my phone. All that I see is a white space in place of the Ads.

    Reply





Click to cancel reply

  • DSB Sponsors

    Extreme Member network inventory MLM Leads with SEO Twitter Automation Work from home SEO CockPit
    Advertise Here
  • Recent SEO Blog Articles

    • How to detect mobile browsers & Redirect mobile users to another URL
    • 3 Effective Ways to block Google from crawling parts of your website
    • News from Google: Fix duplicate content issues using canonical tag across websites
    • Header Tags – What are they ? Where and How to Use Them Effectively
    • Speed up your pages like right now !
    • 5 Routine SEO house keeping tasks to check site health regularly
    • 4 SEO Factors Search Engines might talk about more in 2010
    • 3 Simple Ideas that will get backlinks, even if you don’t ask
    • SEO Tips Day 14 – How to submit a new website to search engines ?
    • SEO Tips Day 13 – 3 Crucial things you should avoid in SEO
    • SEO Tips Day 12 – Top 3 Influencing factors in backlinks
    • Google now indexes pages via RSS/Atom feeds on your site
    • SEO Tips Day 11 – How to deal with duplicate content issues
    • SEO Tips Day 10 – Domain Age and SEO – How important is it ?
    • SEO Tips Day 9 – Optimizing URLs for Search Engines
  • Popular at Daily SEO blog

    • 10 Twitter tools to effectively manage your followers (123)
    • How to get indexed by Google in 48 hours (99)
    • How to get a Google Wave invite (even if you didn’t sign up earlier) (88)
    • How to get free backlinks (81)
    • Free SEO Wordpress theme – SEO Blog (74)
    • 9 Twitter Tips that will help you gain respect in the Twitterverse (Like @Zaibatsu) (72)
    • Ultimate list of Dofollow Social Bookmarking sites (68)
    • 25 SEO Gurus you should follow on Twitter (60)
    • SEO for Wordpress - A quick guide (55)
    • New Wordpress theme - "SEO Green" from DailySEOblog (55)
  • Social Media Articles

    • Why is it easy to convince your client of Social Media Marketing but not implementing it
    • 4 Cool Twitter Applications to help you monitor weight, health and stay fit !
    • Why I Tweet Frequently (and still don’t count it as a mistake)
    • 5 Tips to make Twittering more meaningful by increasing the signal to noise ratio
    • StumbleUpon gets a makeover – Gets cool new features !
    • Top 25 Most Popular PodCasters on Twitter you shouldn’t miss following
    • 5 Features I’d like to see on the Su.pr URL sharing service
    • Top 35 News Sources on Twitter you should follow : Keep updated with the latest news
    • 8 Habits of Successful & Popular Twitter users for Inspiration
    • 10 Tricks to search Twitter better, Beyond your timeline – Around the world
    • How to make money on Twitter ? Some ideas that work ( without screw ups ) !
    • 9 Mistakes I committed on Twitter and could’ve avoided !
    • 9 Reasons why I prefer to DM you rather than reply in public on Twitter
    • Social Media Power user. What, So he’s like superman or something ?
    • Would having more than one account on Twitter increase productivity ?
  • Recent SEO Tips

    • How to detect mobile browsers & Redirect mobile users to another URL
    • Google Introduces keyboard shortcuts to access Search results – Accessibility Search
    • 3 Effective Ways to block Google from crawling parts of your website
    • DSB Needs a redesign. Looking for ideas and options.
    • Google Guru might be Google’s answer to Yahoo Answers. Or is it ?
    • Google introduces “Browser Size” tool for webmasters
    • 10 Essential Adobe Air Applications for Social Media Addicts
    • News from Google: Fix duplicate content issues using canonical tag across websites
    • Integrity – Broken Link Finder SEO Software for Mac
    • Google Employees get to test the Google Phone
    • Why is it easy to convince your client of Social Media Marketing but not implementing it
    • What is Facebook for ? The Google answer
    • Header Tags – What are they ? Where and How to Use Them Effectively
    • Speed up your pages like right now !
    • 5 Routine SEO house keeping tasks to check site health regularly
  • Active users @ SEO Blog

    • Anish K.S
    • Arun Basil Lal
    • Agent SEO
    • Jacques Snyman | NetAge
    • SEO Tips South Africa
  • Top SEO Tags

    ads adsense backlinks blog blogger Blogging blogosphere blogs categories check crawler crawling crowd Excel google image images indexing india indian instances internet javascript keywords links pages rank robots search engine optimization seo tips serps sitemap submit tags templates theme themes upload video wordpress Wordpress SEO wordpress seo wordpress tips yahoo youtube
  • Recent Comments

    • SEO DallasNo Gravatar on 10 Essential Adobe Air Applications for Social Media Addicts
    • Spicy BookmarkNo Gravatar on Ultimate list of Dofollow Social Bookmarking sites
    • JoshNo Gravatar on How to detect mobile browsers & Redirect mobile users to another URL
    • EricNo Gravatar on 10 Twitter WordPress Themes – Twitter integrated and Inspired
    • chanNo Gravatar on How to get a Google Wave invite (even if you didn’t sign up earlier)

Basic SEO Tips

  • Change the way your site appears on Google SERPs
  • Control Google's crawl frequency to your site
  • How does Google see your site?
  • Importance of footer text in SEO
  • Optimizing header images
  • SEO tips for MSN search engine
  • Optimizing blog titles for Google
  • SEO friendly layout
  • What is an SEO friendly site structure?
  • Importance of keywords - SEO Tips
  • Anchor text importance - SEO Tip
  • SEO Tips for blogs and bloggers
  • Absolute links or relative links is good for SEO?
  • Important SEO tips for wordpress

SEO Tips for blogs

  • 24 Must have SEO plugins for Wordpress
  • SEO Tips - Copy writing guide
  • How to get quality backlinks?
  • Social media and link building tips
  • SEO Tips - Landing page Optimization
  • How to increase traffic to your blog?
  • How to increase your Page Rank?
  • Image optimization tips for blogs
  • 7 steps to your blog's SEO
  • How and where to find incoming links?
  • SEO tips for Google
  • SEO metrics to track
  • How to build a sitemap for blogger
  • How to get Google sitelinks?
  • Find out when Google indexed you
Mani Karthik Hi, I'm Mani Karthik, SEO, Blogging & Social Media Enthusiast. I primarily blog about SEO and Social Media on this blog, basically How-to articles and tutorials to help the SEO learner. Feel free to have a look around and drop comments. Hope you enjoy your stay.
>> More about me
© 2009 DailySEOblog.com Privacy policy