19th Mar 2012, 07:24 AM | #1 |
Active Warrior War Room Member Join Date: 2010
Posts: 83
Thanks: 23
Thanked 29 Times in 24 Posts
|
Hi, I have seen a lot of desktop sites redirect to their mobile version but when i take a look in their source code i don`t see any redirection code or script.. Anybody know how they accomplish this ? Is it server side based and therefore not visible in the source code ? Thanks, Charles.. |
19th Mar 2012, 07:28 AM | #2 |
Warrior Member War Room Member Join Date: 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
Yes it can easily be done on the server. Google php location redirect for examples.
|
19th Mar 2012, 08:05 AM | #3 |
Mobile+WP = JumpMobi.com War Room Member Join Date: 2009 Location: San Antonio, Tx
Posts: 1,272
Thanks: 301
Thanked 449 Times in 309 Posts
|
redirection call also be done using a .htaccess file again you wouldn't see that either
|
Sorry, I am too busy helping people to think of a cool signature! | |
7th Apr 2012, 11:21 PM | #4 |
Digital Marketer War Room Member Join Date: 2010 Location: Australia
Posts: 12,475
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
|
PHP and htaccess will not be seen in the source code.
|
| |
Bookmarks |
Tags |
redirection, script, scripts |
| |