![]() |
Redirect allowing access to main site 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. |
Re: Redirect allowing access to main site 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. |
Re: Redirect allowing access to main site Will provides a solution to accomplish this in his WSO. I just utilized it this past weekend, and it works great! |
Re: Redirect allowing access to main site 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 |
Re: Redirect allowing access to main site 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 |
Re: Redirect allowing access to main site 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. Quote:
|
Re: Redirect allowing access to main site Quote:
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 |
| All times are GMT -6. The time now is 11:08 AM. |