Welcome to WebmasterWorld Guest from 54.160.163.163

Forum Moderators: incrediBILL

Message Too Old, No Replies

Need Help With Mobile Redirects

     

snickles121

4:27 am on Jun 27, 2013 (gmt 0)

5+ Year Member



I have a website that is written in html. I used a javascript in my desktop version site to redirect mobile users to my mobile website version. Now I have included a link back to my desktop version from my mobile site. How do I make the link so it stops the javascript from redirected back to mobile.

I searched the net but cant find a solid answer.

Also, I am having a problem of mobile pages showing up in regular desktop search now. Is there a java code that I can use to redirect desktop users from my mobile site to my desktop version.

I used all proper google codes but I think the mobile version is getting indexed before google can see the tags in my desktop site that says its the same page but one is for mobile and one is for desktop.

P.S. Just put mobile site online last week and am still in the process of creating it. Any ideas?

drhowarddrfine

5:37 pm on Jun 27, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a website that is written in html.

I would hope so.

DrDoc

5:52 pm on Jun 27, 2013 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Normally, you would set a cookie when they click to go to your main site. Then, on each request, only redirect if the cookie is absent.

Just make sure to provide a way back to the mobile site for your users as well, so they don't inadvertently get stuck on your normal site.

swa66

10:57 am on Jun 28, 2013 (gmt 0)

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I think it's much much better to not create mobile versions of normal websites. Use media queries to create so called "responsive design" instead. You'll only have one website that has multiple layouts and via CSS the layout that fits the screen size best will be selected ...
 

Featured Threads

Hot Threads This Week

Hot Threads This Month