Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 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
Default
I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

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:
IWelcomesocialmedia is offline  
Unread 8th Jan 2012, 06:34 AM   #2
Digital Marketer
War Room Member
 
WillR's Avatar
 
Join Date: 2010
Location: Australia
Posts: 12,475
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

There could be a number of reasons for that. I would need to see the website in order to help you.

WillR is offline  
Unread 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
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

Originally Posted by WillR View Post

There could be a number of reasons for that. I would need to see the website in order to help you.


Hi WillR

Ok i will pm you

< Just sent you a pm with the URL WellR >

Thanks
Para

Last edited on 8th Jan 2012 at 06:52 AM. Reason: add notes
IWelcomesocialmedia is offline  
Unread 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
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

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
IWelcomesocialmedia is offline  
Unread 8th Jan 2012, 08:29 AM   #5
HyperActive Warrior
War Room Member
 
Jason Fladlien's Avatar
 
Join Date: 2007
Location: Iowa City, IA, USA.
Posts: 401
Thanks: 361
Thanked 727 Times in 137 Posts
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

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...
<?php
="http://PUT_YOUR_MOBILE_URL_HERE";
require_once("mdetect.php");
?>

<html>
<head>
<title> Website Title </title>

</head>

<body>
Content, etc.
</body>
</html>
If you're using their hosting and using a PHP script for detection, make sure their hosting supports PHP as well...

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 :)
Jason Fladlien is offline  
Unread 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
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

Originally Posted by Jason Fladlien View Post

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...


If you're using their hosting and using a PHP script for detection, make sure their hosting supports PHP as well...
Jason,

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
IWelcomesocialmedia is offline  
Unread 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
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

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

YellowGreenMedia is offline  
Unread 8th Jan 2012, 12:52 PM   #8
Mobile+WP = JumpMobi.com
War Room Member
 
Jay Moreno's Avatar
 
Join Date: 2009
Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

@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!
Jay Moreno is offline  
Unread 8th Jan 2012, 01:35 PM   #9
Ultimate Warrior
 
HypeText's Avatar
 
Join Date: 2011
Posts: 734
Thanks: 28
Thanked 181 Times in 131 Posts
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

Originally Posted by YellowGreenMedia View Post

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
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
HypeText is offline  
Unread 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
Default
Re: I have a question regarding mobile version of HTML site
Share on: 
fb share twitter share gplus share more share

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

YellowGreenMedia is offline  
Closed Thread


Bookmarks

Tags
html, mobile, question, site, version


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:42 PM.