8th Jan 2012, 06:19 AM | #1 |
Lead Generation Pro War Room Member Join Date: 2006 Location: United Kingdom.
Posts: 329
Thanks: 44
Thanked 55 Times in 44 Posts
|
I have a problem My client site is in html I did built a mobile site in wp and then put a redirect script in the head tag of his main site .. the problem is the iste is not showing up as it should in smart phone. His non-mobile site is still showing. Can someone tell me what could be the problem please?:confused: |
8th Jan 2012, 06:34 AM | #2 |
Digital Marketer War Room Member Join Date: 2010 Location: Australia
Posts: 12,475
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
|
There could be a number of reasons for that. I would need to see the website in order to help you.
|
| |
8th Jan 2012, 06:45 AM | #3 |
Lead Generation Pro War Room Member Join Date: 2006 Location: United Kingdom.
Posts: 329
Thanks: 44
Thanked 55 Times in 44 Posts
| |
Last edited on 8th Jan 2012 at 06:52 AM. Reason: add notes | |
8th Jan 2012, 08:20 AM | #4 |
Lead Generation Pro War Room Member Join Date: 2006 Location: United Kingdom.
Posts: 329
Thanks: 44
Thanked 55 Times in 44 Posts
|
Anyone else with any suggestions ... will be much appreciated. Thanks in advance. Para |
Last edited on 8th Jan 2012 at 08:21 AM. Reason: typo | |
8th Jan 2012, 08:29 AM | #5 | |
HyperActive Warrior War Room Member Join Date: 2007 Location: Iowa City, IA, USA.
Posts: 401
Thanks: 361
Thanked 727 Times in 137 Posts
|
There is probably something wrong with your script and/or where you put it. For example, you shouldn't put the script in the head tag. You should put it ABOVE everything else. At least all the scripts I use operate like that. For example...
| |
Co-creator of WP Twin. Perhaps the most expensive yet most reliable wordress cloning tool on the market. We've definitely been used more successfully than all other options :)
| ||
8th Jan 2012, 08:37 AM | #6 | |
Lead Generation Pro War Room Member Join Date: 2006 Location: United Kingdom.
Posts: 329
Thanks: 44
Thanked 55 Times in 44 Posts
|
Thanks for your prompt reply. I will check to see again where exactly i placed the script. Obviously I have done something wrong so I will check that. Regards Para | |
8th Jan 2012, 12:28 PM | #7 |
Dave Zegers War Room Member Join Date: 2011 Location: The Hague
Posts: 559
Thanks: 229
Thanked 207 Times in 118 Posts
|
Did you use a JavaScript or PHP to redirect? because if you have used PHP on a html page that really ends with .html then that is not gong to work. then you need to change the .html to .php Dave |
| |
8th Jan 2012, 12:52 PM | #8 |
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
|
@para do you know if the script is user agent based or using javascript screen size detection if its user agent based it maybe for some reason the device you are using isnt being detected and reason its not being redirected... if its using screen size detection and you are visiting the site on an android device i have found that on some of the android device do not always give an accurate screen size - it maybe that if your screen size limit is set too low its not tripping the redirect. Personally this is one of the many reasons i prefer to use user agent detection that we have control over devices it detects... user agent detection can also be done using javascript too if the page is HTML based... HTH Jay |
Sorry, I am too busy helping people to think of a cool signature! | |
8th Jan 2012, 01:35 PM | #9 |
Ultimate Warrior Join Date: 2011
Posts: 734
Thanks: 28
Thanked 181 Times in 131 Posts
|
Nice Catch! I was about to tell him that myself then I saw you had already stated it...
|
(916) 520-HYPE (4973) Local & Mobile Marketing Solutions $0 Setup & $99/mnth Private Label Reseller Accts | |
8th Jan 2012, 02:24 PM | #10 |
Dave Zegers War Room Member Join Date: 2011 Location: The Hague
Posts: 559
Thanks: 229
Thanked 207 Times in 118 Posts
|
Thanks, its not because i am so smart, it is because i have had that problem once, and it took me some hair-pulling and swearing before i figured out what i was doing wrong LOL |
| |
Bookmarks |
Tags |
html, mobile, question, site, version |
| |