wordpress mobile site redirection?

survivorghost

Junior Member
Joined
Jun 20, 2017
Messages
186
Reaction score
22
Hi everyone

i have a wordpress site, the theme is mobile friendly and the desktop version works great on both desktop and mobile.
the problem is when my mobile visitors access my website they see the mobile version first instead of the desktop version. but the mobile version is not appropriately designed yet, and it is really bad looking.

so i was wondering if there is a way to redirect all mobile visitors to the desktop version of my site? (since it works great on mobile)

If this is not the right place for this thread, please advise!
 
There might be a plugin or function already written, which is handling the redirect. You can just turn it off for a while till your designing is complete. Or there might be plugins that can redirect mobile users to full site, but make sure that doesnt create a redirect loop.
 
There might be a plugin or function already written, which is handling the redirect. You can just turn it off for a while till your designing is complete. Or there might be plugins that can redirect mobile users to full site, but make sure that doesnt create a redirect loop.
yeah that is exactly what i am looking for, but so far couldn't find any.
 
Did you try looking up the theme functions and disable the redirect from there so everything goes to the main desktop version itself? Might be a bit of work, but does the job well.
 
you have a second version that's mobile ... as in it's not a responsive theme?
search "mobile redirect" on the plugin repository.. lots of stuff there.
you can do it manually http://mobiledetect.net/

depending on your theme you can disable "responsive" in different ways if that's the case
i didn't completely understand what you said.
i have a responsive theme that works great on computer and mobile. but when i access from mobile i see another layout (which is supposed to be the mobile layout of my site) i have to click on a button at the end of the site to access the "full site" which is the original theme.
so is there a possibility to get rid of that mobile layout, and let mobile visitor access my original site's theme (full site) instead.
I tried many mobile redirection plugins, the problem i have is that the "full site" and the "mobile version site" has the same URL. when i click "view full site" the layout changes but the URL stays the same. So theoretically, there is nothing to redirect to. when i put my front page URL in the plugin to redirect to the full site it only give me a loop error because it keeps redirecting to the same page.
 
i didn't completely understand what you said.
i have a responsive theme that works great on computer and mobile. but when i access from mobile i see another layout (which is supposed to be the mobile layout of my site) i have to click on a button at the end of the site to access the "full site" which is the original theme.
so is there a possibility to get rid of that mobile layout, and let mobile visitor access my original site's theme (full site) instead.
I tried many mobile redirection plugins, the problem i have is that the "full site" and the "mobile version site" has the same URL. when i click "view full site" the layout changes but the URL stays the same. So theoretically, there is nothing to redirect to. when i put my front page URL in the plugin to redirect to the full site it only give me a loop error because it keeps redirecting to the same page.
sounds like you just have to disable the "responsive" part of your theme code
no amount of "redirects" will fix it because its not a redirect issue as you figured out
i included a link in my last post how to do that. if you're uncomfortable editing WP config, you can try hiring a freelancer.
 
So I think the "problem" might be in your themes style.css file. Somewhere in that code you will see some lines that say something like @media screen and (min-width: 480px) { next few lines of code }
These are what is making your site look different on a mobile browser to your desktop. It's probably not a redirect but the same site just displayed differently.
You could try editing the CSS if you want to get involved in that or maybe just look for a non-responsive theme on wordpress.
 
sounds like you just have to disable the "responsive" part of your theme code
no amount of "redirects" will fix it because its not a redirect issue as you figured out
i included a link in my last post how to do that. if you're uncomfortable editing WP config, you can try hiring a freelancer.
So I think the "problem" might be in your themes style.css file. Somewhere in that code you will see some lines that say something like @media screen and (min-width: 480px) { next few lines of code }
These are what is making your site look different on a mobile browser to your desktop. It's probably not a redirect but the same site just displayed differently.
You could try editing the CSS if you want to get involved in that or maybe just look for a non-responsive theme on wordpress.

Thanks for the provided info. however, the issue was really a simple one and very stupid of me.
Jetpack, the wordpress plugin has a mobile version option, it changes the layout of the site in the same URL with a different layout on mobile.
i guess it was activated by default since i don't remember activating it, i was lucky to find someone mentioning it out there while searching on google for the issue. otherwise, i would've never thought about it.
After disabling the jetpack mobile option, the site shows the same layout on both computer and mobile.
 
Back
Top