Home › Forums › Archived Forums › Mobile View › redirect to mobile page
- This topic has 10 replies, 4 voices, and was last updated 6 years, 6 months ago by
balmerhevi.
-
AuthorPosts
-
June 26, 2016 at 02:28 UTC - Views: 47 #19261
rogerc
ParticipantOK I have tried for few hours now to redirect my static front page to my mobile page. Using Weaver II presently, I have as far as I know set all the appropriate setting to achieve this all to no avail so in desperation I tried a couple of plugins still with no success. Anyone have any ideas ?
Site is https://aussie-slots.com, mobile page is https://aussie-slots.com/mobileslots/
rogercJune 26, 2016 at 02:42 UTC - Views: 7 #29420scrambler
ModeratorIf you mean you want a different home page on mobile, there is a pace for that setting in the Mobile admin page of the theme. Is it where you set it up?
June 29, 2016 at 00:37 UTC - Views: 7 #29421rogerc
ParticipantThanks for your reply but I have ( I believe ?? ) installed the right settings, it used to work on all my sites up until there was an upgrade to WordPress. I have tried various redirect plugins to no avail as well as installing a directive in the .htaccess file, still no good.
Thanks a lot for your help
rogercJune 29, 2016 at 01:51 UTC - Views: 6 #29422scrambler
ModeratorWell, your mobile page is indeed the page with the 1290 ID, and it definitely does not come up on mobile, so something is up.Try deactivating ALL non weaver plugins, and see if that makes a difference.
Beyond that, may be @weaver will have more suggestions
June 29, 2016 at 08:18 UTC - Views: 7 #29423rogerc
ParticipantHi, Once again thanks for your interest. Unfortunately I have already visited the deactivating of all plugins and all it did was make a mess of the site. A lot of these plugins wt3cache for instance although I have had it deactivated for some time now leave a trail in the .htaccess file so I’m going to attack that next and try it clean it up. I will also give your suggestion of @weaver a go.
Once again
Thanks very much
rogercJune 29, 2016 at 16:30 UTC - Views: 6 #29424scrambler
Moderator“.htaccess file ” does seem like a good candidate 🙂
June 30, 2016 at 10:46 UTC - Views: 6 #29425rogerc
ParticipantJust for interests sake, I tried with a completely empty .htaccess, still without success, next step is going to be in desperation, changing the theme altogether and see where that leads.
rogercJune 30, 2016 at 23:27 UTC - Views: 7 #29426rogerc
ParticipantI think I have found the reason this redirect does not work.
Possible causes:
According to MobiReady…….
A URL which is valid in format but for which no site exists.
A valid URL and site, but that is not connectible by mobiReady servers.
The page is not a valid markup (HTML), such as a css js or swf file.
…………………………………
So, it appears that although the page is definitely there MobiReady is unable to locate it, seems it’s locked up somewhere but where I have no idea. ??
rogercJuly 2, 2016 at 02:09 UTC - Views: 6 #29427Weaver
Keymaster@roberc – only in your last post did you mention “MobiReady”. What is that? Is that a plugin or some kind of service?
If you are trying to use some other plugin to redirect a page, then it would almost certainly conflict with Weaver II’s own mobile redirection.
Do note that the method Weaver II uses to redirect the mobile home page is really obsolete.
July 5, 2016 at 23:26 UTC - Views: 8 #29428rogerc
ParticipantSorry, been a while since posting, it seems that some of the code W3total cache put in the .htaccess file was upsetting something, a bit of a mystery really, anyway it seems to be working OK now. MobiReady is just a “mobile simulator ” I was using for testing.
Thanks very much for all your help
rogercNovember 10, 2016 at 06:46 UTC - Views: 6 #29429balmerhevi
ParticipantThe following Javascript code will help you to redirect to your mobile version.
<script type=”text/javascript”>
if (screen.width <= 699)
{document.location = “mobile/mobilepage.html”;
}
</script>
More…Mobile Redirect
Hevi
-
AuthorPosts
- The forum ‘ Mobile View’ is closed to new topics and replies.