What's the best way to redirect a single page for mobile devices?
-
Hi all,
I have been doing a lot of research on how to redirect a single page from my WordPress website to a mobile version (I would like to redirect all mobile users who visit https://lifebyjohn.com/schedule to https://lifebyjohn.com/mobile-schedule, I do not want to redirect all mobile users for all my pages to a different page or theme, only just a single page).
However, I have yet to find a plugin that can do this. The only one I found that might work is called Equivalent Mobile Redirect, but for some reason that plugin crashed my whole website. I’ve seen a few others that redirect all mobile users for all pages to a different page or theme, but again that’s not what I’m trying to accomplish.
I’ve also seen a few “scripts” around the internet, most notably https://www.detectmobilebrowsers.com, but most seem incomplete at best, and as a non-website developer I can’t accurately determine which script is best.
In addition, I have yet to find consensus on “the best” way to detect for mobile devices. Some say to check the “user agent,” others say to check for the height and width of the screen.
In any event, I’m just looking for an easy way to get a mobile device redirect going for my single page, hopefully through a method that continually “updates” itself so that new mobile phones that come out will get “added” to the list of mobile devices it redirects.
Any help would be most appreciated!
– John
- The topic ‘What's the best way to redirect a single page for mobile devices?’ is closed to new replies.