![]() Redirection steps in app2app and app2web flow ![]() ![]() But what about user experience? How can the flow be seamless and consistent?ĭiagram 1. htaccess but when ever i open different url for example open a url it is opening : how do i open RewriteEngine on mobi mobile version ? i just need to redirect mobile traffic. Note: i have different directories aswell on server for examples.Īny one please help me to redirect. htaccess codes and it works and redirect same to same but change. will i go every page and add the code ? is there any solution to add some. I have a mobile version which is (and the desktop version (both websites have a same urls for example if you will open desktop version (and a same url on mobile version (but the problem is i have all my website static and its very old website i have more then 10k static pages. I have to stress that I would use responsive layouts if possible to save duplicating content/work load but this was not an option for the project I was doing. The final check done on this domain would be another IF statement run inline checking if the cookie exists and has value “off”. Then be redirected to the desktop domain. If a user would actually prefer to view desktop version they would click on “view desktop version” which would create a cookie with name:mobile value:off. Once the user is on the mobile sub domain I have used to configure the rest of the process as sub domain to main domain cookie access is allowed but main domain to another main domain is not. or in your javascript file like thisīut in my setup is is slightly different. So you would place the above code simply at the top of your webpage. So when a user lands on the desktop version I would run the above resolution IF statement in-line, so there is no “$(document).ready(function(” surrounding the code.
0 Comments
Leave a Reply. |