3rd Jul 2012, 02:47 PM | #1 |
HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
Using redirect scripts, a standard website living at company.com can be redirected to m.company.com (or whichever URL) to display the mobile version of the site. But is it really necessary to redirect to a different URL altogether, when the same "if statement" can be applied to display (rather than redirect) the appropriate version of the website on the very same URL? We know that a redirect script works as follows, or something along these lines: If (mobile device detected) redirect to m.company.com if (mobile device not detected) show company.com But, how about doing this instead: if (mobile device detected) show the mobile HTML/PHP code if (mobile device not detected) show the standard HTML/PHP code This can be used for all pages of the website, thereby eliminating the need for 2 separate URLs (without even using CSS media queries). It also makes it easier to automatically update the mobile version (not having to perform the update twice), which could be an additional selling point. I prefer to use the PHP user agent method for mobile device detection, but I believe the principle would apply to javascript as well. The more I think about it, the more I wonder why the practice of redirecting to a different URL was even ever used. Any thoughts on this? John |
| |
3rd Jul 2012, 02:52 PM | #2 |
Active Warrior Join Date: 2009 Location: Rochester, Kent, UK
Posts: 46
Thanks: 2
Thanked 4 Times in 3 Posts
|
Well, John your thoughts are very similar to what Google have finally come out and said about mobile websites, although they would prefer the html to remain the same and only the css to change. I don't know if I've got enough posts to add a link but I'll see what happens: Google Finally Takes A Clear Stance On Mobile SEO Practices |
3rd Jul 2012, 03:13 PM | #3 |
HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
Hi tryme1, Thanks for the link. Yes, Google has been recommending the use of CSS media queries for a little while now, but what is curious to me is the reason why redirecting to a different URL even became a practice, since it was never really necessary - even before the subject of media queries began to be discussed and, to some degree, debated. John |
| |
3rd Jul 2012, 03:29 PM | #4 |
Mobile+WP = JumpMobi.com War Room Member Join Date: 2009 Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
|
this is what I have been doing and telling people about here on WF for the longest time! lol its what our wordpress mobile theme framework is based on too useragent detection should be used for adaptive design NOT just for redirection we use useragent detection to serve the most optimized content for the particular device viewing the content whilst you can use the same url to display an adaptive design sometimes its the content that will ultimately make you choose between staying on the same url or redirecting... especially if its an existing website |
Sorry, I am too busy helping people to think of a cool signature! | |
3rd Jul 2012, 03:47 PM | #5 | ||
HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
Hi Jay,
John | ||
| |||
3rd Jul 2012, 05:11 PM | #6 | |
Mobile+WP = JumpMobi.com War Room Member Join Date: 2009 Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
|
For example when using Wordpress we typically clean and reformat the content and keep the url the same, but if there are additional third party addons, say for example buddypress, or realtor addons its not that easy to do that so in that instance we may perhaps choose to redirect instead and create our own mobile optimized version with the content Hope that makes sense, Cheers, Jay | |
Sorry, I am too busy helping people to think of a cool signature! | ||
The Following User Says Thank You to Jay Moreno For This Useful Post: |
3rd Jul 2012, 05:43 PM | #7 |
Old & New sCool Marketing Join Date: 2012 Location: Amsterdam
Posts: 178
Thanks: 7
Thanked 29 Times in 23 Posts
|
I think there is 1 BIG advantage for re-directing... The fact you can make the mobilesite a second footprint on the web and have it SEO optimized for different keywords. With that I mean mainly a keywordrich domainname (short or longtale). This way you can re-direct from the main website to a frame on a m.yourcompanyname.com to the mobilesite on ww.theCOREbusiness.com And offcourse re-direct from the mobilesite to your mainsite if they are non-mobile visitors. just a thought I do this to pull mobile website clients in easy since I offer them a mobile website/page on my domains like greekrestaurant.in/TOWN/theirmobilewebsite. Easier to rank than their Antonio's Flying Pizza – Houston Texas and I give them a free listing on the domain since thats it second purpose. So no matter WHY it started, I'm happy it did A lot of backlinks going to the listingsite which adds more value for my customers also in the long run. It's all about relavance linking and content... BTW if any of you is interested in offering the same for your restaurantclients and clients to be... mail me at dennis_dmte_nl I promise it won't cost you a dime until you make money with it Just don't like the way of WSO's and OTO's anymore and refunds if it's nothing. I believe in paying for something after it showed its worth it. |
3rd Jul 2012, 06:13 PM | #8 | |
HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
| |
| ||
Bookmarks |
Tags |
mobile, separate, url, version |
| |