|
Post by lawfash on Aug 28, 2015 9:11:09 GMT
Hello Guys.....I see a lot of help on here. I have a little issue with the redirect. Initially I used a script found on here for mobile redirects for my website which worked fine except for the newer version of Blackberry phones which always went straight to the Desktop version of the site. I tried tweaking the script to include the user agent of BB10 to no avail. Then I updated my Antenna software to the latest version and removed the script to use the inbuilt redirect application instead. Now the problem is some phones (including said Blackberry device) are unable to fully open the site. It just loads halfway and stops responding. I also noticed that when I use Opera web browser on my mobile device, it shows a totally different thing (shows the desktop site minus a few styles......) Please any help from you guys would be appreciated. Website is www.abakeoge.com.ngThank you.... lawfash
|
|
|
Post by Graham on Aug 28, 2015 10:29:36 GMT
Hi Lawfash
When I load your desktop site into either IE, Chrome or Edge it takes forever to load, what size are your images in the slideshow on the index page. There is something killing the load time. I can't navigate to the gallery on the site it just times out for me
On my smartphone (Galaxy Note3) it takes forever and times out, this could also be due to large images.
Check the sizes of your images, not so much the width and height in pixels but the physical KB sizes or whatever they are
Graham
|
|
|
Post by Frank on Aug 28, 2015 11:45:18 GMT
I checked a couple of the images and they are not very big at 90KB and 75KB.. Background is only 150KB. I still feel that there's got to be a script in there somewhere raising an issue. Cheers, Frank
|
|
|
Post by Graham on Aug 28, 2015 11:49:24 GMT
Something is very wrong images don't load for me fully. The whole site times out and I can't even see the image sizes or what they fully look like Graham
Sent from my SM-N9005 using proboards
|
|
|
Post by lawfash on Aug 28, 2015 12:49:53 GMT
Hi Graham, the sizes are quite small I think. Largest image filesize is about 62kb for the mobile site while for the desktop site the largest filesize is about 250kb.
|
|
|
Post by lawfash on Aug 28, 2015 12:54:49 GMT
Funny thing is that the site loads quite fine on my own phone and laptop. Also loads fine on another phone (Samsung) and Ipad i tested with. Other phones though have the same complaint. I have no idea what is going on. This all started though after I removed Graham's script and used the Antenna redirect tool instead.
|
|
|
Post by Frank on Aug 28, 2015 12:58:53 GMT
lawfash: Once its loaded once on your desktop or phone it will load quickly there after because it loads from cache. If you want to see the original load speed bring up the site and press Ctrl + F5
|
|
|
Post by Frank on Aug 28, 2015 13:10:36 GMT
Look and see if you still have some of grahams script somewhere in there... I think I see this: www.abakeoge.com.ng/js/redirect_enc.js on the mobile load? Things might be conflicting. I sent you an IM... Cheers, Frank
|
|
|
Post by lawfash on Aug 28, 2015 14:27:02 GMT
Yea.....I already cleared the cache and web history from the web browser before loading again and it still loads well enough. I also tried from a freshly installed browser (Chrome) and it also loads fine. Same thing on my phone. But on some other devices it just doesn't load correctly. I've tried going through the index file to search for any remnant code from Graham's script but cannot find anything out of the ordinary.
|
|
|
Post by Hans on Aug 28, 2015 23:57:18 GMT
The loading issue in the gallery might not be related to mobile redirect(ed sites) at all. I had a smooth working gallery in one of my projects (made with Antenna v 4.x so without the "mobile direct" feature as it is in Antenna from v 5.4) that was shown o.k. on both desktop and mobiles. Since I updated to v. 5.4 the initial gallery no longer opens on mobile devices for unknown reason but only shows the vertical small thumbnail images leaving the "main" gallery viewing area black similar to the one in abakeoge.com.ng/... (See also delphiwatersports.com/photo.htm). Unless a solution is available I mIght want to remove the entire gallery..
Hans
|
|
|
Post by Frank on Aug 30, 2015 1:15:43 GMT
Hans, I looked at the delphi site, does it have a mobile version? I didn't get redirected on my Android...but I also don't see a redirect script anywhere on the index page. I think the problem on Lawfash site has to do with parts of Grahams redirect script are still present. Lawfash is testing it now.
Cheers, Frank
|
|
|
Post by Graham on Aug 30, 2015 4:10:48 GMT
I still can't get your site to load on my smartphone Lawfash. One thing I have noticed on the smartphone version your menu links actually point back to your desktop version. They should go to the respective mobile pages
For eg
on your mobile site the home button should reference the /mobile/index0.htm and the gallery page should reference the mobile/gallery0.htm page
On your mobile site your loading the desktop version and relying on the redirect for every page to then go to the mobile version.
In practice what you should be doing is on all desktop pages you want redirected to mobile just add the Antenna redirect script and point it to the respective mobile pages. Then on your mobile pages for all your menu links etc they all should point to mobile pages only.
This could be one reason its going funny on some smartphones because you are loading the desktop and relying on the redirect to then change it over to mobile.
Hope all that makes sense
Graham
|
|
|
Post by Hans on Aug 30, 2015 12:47:38 GMT
Frank,
No it does not have a mobile version (yet) nevertheless it shows the same gallery problem which makes me assuming the issue might have nothing to do with any mobile/redirect script at all.
Hans
|
|