WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
[resolved] [Plugin: WPtouch] Call mobile version with direct URL (22 posts)

  1. epistates
    Member
    Posted 3 years ago #

    How can I open the mobile version of my page directly? I figured out, that the following link is set in the mobile switcher, but it didn't worked on desktop PC:
    http://www.domain.com/?wptouch_view=mobile&wptouch_redirect=/

    I want to set a subdomain like "m.domain.com" or "touch.domain.com" but therefore I have to know the exact and complete URL to call the smartphone/tablet version of my site for the server redirect.

    How to find out or set? Or can you please tell us the link here?

    http://wordpress.org/extend/plugins/wptouch/

  2. owcv
    Member
    Posted 3 years ago #

    interesting feature. would be very useful to know that!

  3. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 3 years ago #

    You could add your browser to the custom user agents to have it show up. For example you could add 'safari' as a custom user agent, and then WPtouch will show in the Safari browser when you visit your site.

    Keep in mind that it will show for ALL users using Safari in this case.

    WPtouch Pro includes a developer mode where you can preview the mobile or iPad theme in your browser for only you.

  4. owcv
    Member
    Posted 2 years ago #

    that is not the point. the question is, whether if it is possible with wptouch to link to a specific subdomain for the mobile version or not?

  5. MyUtd4Life
    Member
    Posted 2 years ago #

    I hope it will be possible with a subdomain / redirect

  6. owcv
    Member
    Posted 2 years ago #

    yes! that's exactly what i thought of.

  7. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    Not really possible at this point, unless you want to run two installations of WordPress.

  8. owcv
    Member
    Posted 2 years ago #

    Do you plan to implement such a feature?

  9. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    Not really— it's not an often requested thing, and we don't see that much use for it.

  10. Si Kord
    Member
    Posted 2 years ago #

    hm, I'd love to have that, too. Since that would give the possibility to still use a cache like varnish without having both versions mixed...

  11. Resraf
    Member
    Posted 2 years ago #

    An interesting thing happened today on one of our sites, Chrome randomly just opened the mobile version of the site, instead of the live version, have latest version of WPtouch installed. Is there a reason why this would happen? And how i could stop it from happening again?

    Thanks in advance for any help.

  12. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    This is likely an issue with a cache plugin not being configured correctly to ignore the user agents WPtouch uses to detect compatible devices.

    Add the list of user agents shown in the WPtouch settings to your cache plugins' Rejected User agent listing and empty the cache, everything should be fine.

  13. owcv
    Member
    Posted 2 years ago #

    and we don't see that much use for it.

    It would be very useful e.g. to advertise/promote ones mobile domain. Many companies and organisatios do that: m.google.com, m.facebook.com, m.wikipedia.com,...

  14. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    Why? When you can just advertise your own domain as being mobile ready? One domain address for customers is easier to remember than two.

  15. ctc26
    Member
    Posted 2 years ago #

    I have also been looking into this feature because it would allow me to place a mobile link in the footer of my website for mobile users who were not included in the user agents list. So if the user has an obscure mobile device that is capable of rendering the mobile version of the website they can manually redirect to it by clicking on the footer link. Having this linked to a dedicated subdomain would also be a nice touch.

  16. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    "Obscure mobile device capable of rendering the mobile version". What devices, for example, would these be?

    We've covered the majority of mobile browsing devices by browser share (93-97% in North America) by supporting iOS, Android, and BlackBerry OS6+ devices.

    I think you're considering investing too much effort into something that won't offer much to many people.

  17. Resraf
    Member
    Posted 2 years ago #

    We actually arent using any caching plugins, is there another reason why this could be happening? It is happening quite frequently now and i need to get to the root of the issue.

    Thanks for any help.

  18. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    Resraf,

    Do you happen to have the user agent switcher extension installed Chrome? If you do, make sure you haven't switched to a mobile user agent and forgot to switch back.

  19. fellowito
    Member
    Posted 2 years ago #

    Hello!! :)

    I am also interested in know what would be a direct url to see the mobile version.

    I'm trying to use test website like screenfly or testiphone and they don't load mobile version.

    What can I do?

    Thank you :)

  20. epistates
    Member
    Posted 2 years ago #

    is there a variable for the user-agent i can call with the url, so that i can redirect to my mobile subdomain?

  21. magneticmoon
    Member
    Posted 2 years ago #

    I'd like to revive this question. I'd like to have a slimmed down version of the site to redisplay in a Facebook tab. Their width restriction is quite limiting. I'd like to display the mobile version thinking it will fit in better in Facebook's narrow width. I can also see a use for being able to view the mobile version to confirm it's working correctly. I don't have a web enabled mobile device myself. I personally detest them, yet realize my site visitors may love their gadget.

  22. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Since WPtouch displays the mobile theme on the same URL, and we don't append any parameters to the URL, it's not possible to call the mobile theme that way.

    epistates,

    Using a sub-domain is not supported at this time. However, if you mean that you'd like to do your own redirection/detection, you can use one of the many Javascript and PHP redirects out there.

    magneticmoon,

    You won't be able to call the mobile theme specifically in your Facebook tab. Though, if you're looking to preview it yourself and don't have access to a mobile device. You can user the User agent switcher in Safari after enabling the "Develop" menu in Preferences > General

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags