| | #1 |
| Active Warrior Join Date: 2009
Posts: 60
Thanks: 2
Thanked 5 Times in 5 Posts
|
I have a client for whom I did their mobile site, they have a fairly large main site and would like for the user to be able to access the information on their regular website if they choose. The issue is that they use a CMS that accesses a template for every page of their main site. I put a redirect code in the template and it does redirect to the mobile site, but I have no way to put a link to the main site without it simply redirecting back to the mobile. I have searched for solutions to this with no success, a couple things I found did not work. My concern is that even if I find a solution, because every page accesses the template, every page on their main site redirects to the mobile site, so I need some way for the user to go to their main site and stay on it if needed. I am a non-technical person so I am looking for an easy fix if possible. Thanks in advance.
|
| |
| | #2 |
| Your Next Writer War Room Member Join Date: 2008 Location: Iowa
Posts: 1,634
Thanks: 151
Thanked 462 Times in 256 Posts
|
How is the mobile site setup? If it is on a subdomain or another domain entirely, then all you would really need to do is include a link in the footer that reads Switch to Desktop Version (or something similar). As long as the mobile site is on a subdomain or another domain entirely, including a link like this will allow them to access the regular site as normal. |
| Want to speed up your writing and save time? This book will show you how: --> Write Fast: 21 Powerful Ways to Cut Your Writing Time in Half! <-- | |
| |
| | #3 |
| I Do Voice Over Work War Room Member Join Date: 2011 Location: Oregon
Posts: 581
Thanks: 34
Thanked 129 Times in 96 Posts
|
Will provides a solution to accomplish this in his WSO. I just utilized it this past weekend, and it works great!
|
| I do voice over work... here's a SAMPLE | |
| |
| | #4 |
| Mobile+WP = JumpMobi.com War Room Member Join Date: 2009 Location: San Antonio, Tx
Posts: 1,271
Thanks: 301
Thanked 449 Times in 309 Posts
|
you can deploy a cookie and configure your script not to redirect if the cookie is present, there are several ways you can do this, another post i responded to on here i figured you can even do that with a .htaccess file so in theory you wouldn't even need to mess around with the template... let me know if you need more info cheers, jay |
| Sorry, I am too busy helping people to think of a cool signature! | |
| |
| | #5 |
| You reap what you sow. War Room Member Join Date: 2008 Location: Sometimes you don't.
Posts: 1,078
Thanks: 196
Thanked 411 Times in 243 Posts
|
You are "a non-technical person" and I have no idea about the setup of this site, so any advice I will give here will be useless. Here is a JavaScript based redirection script you may find useful that allows switching between the mobile site and the full site: Code: http://www.sebastianoarmelibattana.com/projects/js-redirection |
| |
| | #6 | |
| Active Warrior Join Date: 2009
Posts: 60
Thanks: 2
Thanked 5 Times in 5 Posts
|
Thanks, I have had a couple people helping with this but I will go ahead and explain the setup the best I can and see if someone on here can suggest some ideas. I have done several mobile sites and installed redirects with no problem, and I have even done a couple that wanted access to the full site by making a copy of the homepage, titling it noredirect, and linking to that page which does not have the redirect code. Perhaps a crude way of doing it but it works, the main site owners know that if they update the homepage they have to make a new copy each time. I have not been able to do a similar thing this time. This site uses a CMS called ExpressionEngine, every page is dynamically generated with templates. I am not the original webmaster, I have been given FTP access and access to the header template and some other templates, but not the entire site. The site is hosted with dreamhost so they do not have a file manager in their cpanel as others I have been more familiar with did. The files for the site are php files. As I said I am not at all a techie type person, but I can follow instructions and install a script or whatever needs to be done as I have successfully before. I am just stuck here, I need to go ahead and get this done if possible. The client has been very patient and they are pleased with the work overall. Thanks again in advance.
| |
| |
| | #7 | |
| Dave Zegers War Room Member Join Date: 2011 Location: The Hague
Posts: 559
Thanks: 229
Thanked 207 Times in 118 Posts
|
I know this is somewhat of a old post but i wonder if you came upwith a fix because i have the same problem as you had Thanks Dave | |
| |
|
| Bookmarks |
| Tags |
| access, allowing, main, redirect, site |
| |