Welcome, Guest
Username Password: Remember me

Redirects to mobile homepage instead of mobile version of link?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Redirects to mobile homepage instead of mobile version of link?

Redirects to mobile homepage instead of mobile version of link? 13 years, 8 months ago #3719

  • mooney101
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
When a user go to clicks on a link www.mysite.com/blog i want them to go to m.mysite/blog instead they go to the mobile home page m.mysite.com/homepagelink. Is there a way to prevent this? If there is a mobile version of the same link(the only difference is the subdomain) I want them to view the mobile version not be redirected to the mobile homepage?

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 8 months ago #3720

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
MobileJoomla keeps path part of the url in redirect.
What is url of your site?

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 8 months ago #3721

  • mooney101
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
www.studiobenjamin.com though the mobile site is not live right now because I only turn it on when I'm working on it? Do you need it turned on?

So its suppose to keep the attached? I was thought that is the way its suppose to work my guess is I have something set wrong somewhere.

I'm going to leave it on for a couple of hours (its mostly done) to give you a chance to look at it and see whats up. www.studiobenjamin.com/blog
Last Edit: 13 years, 8 months ago by mooney101.

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 8 months ago #3722

  • mooney101
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
well i am just confused as to why this is going on. If I have "Redirect to domain" to ""yes" then it goes to mobile homepage no matter what link they come in from. If I turn it off it goes to the correct link just not the mobile version of the link? Any ideas?

Thank you for your help

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 7 months ago #3873

  • rodsdesign
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
We're facing the same issue.

the main site is www.hutchcraft.com
the iphone site is touch.hutchcraft.com

if you click on this link: rh-m.in/f5a9NP - it takes you to an article on the site. However, if you are on your iphone - and it re-directs to the mobile site - the URL is lost and you just go to the home page.

would really appreciate some help!

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 7 months ago #3879

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
rodsdesign wrote:
We're facing the same issue.

the main site is www.hutchcraft.com
the iphone site is touch.hutchcraft.com

if you click on this link: rh-m.in/f5a9NP - it takes you to an article on the site. However, if you are on your iphone - and it re-directs to the mobile site - the URL is lost and you just go to the home page.

would really appreciate some help!


It's known issue that will be fixed in 0.9.13.
To fix it, edit plugins/mobile/domains.php: add code
$uri =& JURI::getInstance();
$parsed = parse_url($uri->toString());
$path = isset($parsed['path']) ? $parsed['path'] : '';

before (line #61)
/** @var JSite $mainframe */
Last Edit: 13 years, 7 months ago by dryabov.
The following user(s) said Thank You: rodsdesign, waterskiworld

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 7 months ago #3880

  • rodsdesign
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
really appreciate this GREAT extension!!
thanks for the fix.

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 7 months ago #3881

  • mooney101
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
WOW. yup this works. Thanks for the fix.

Re: Redirects to mobile homepage instead of mobile version of link? 13 years, 7 months ago #4027

  • gsullins
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Well, given this argument, is it possible to have all links forwarded to the home page of the mobile website? I am trying to create a mobile user experience completely separate from the desktop experience. (Particularly because my Desktop pages are just too heavy for the Mobile page - ie, I have loadposition modules which use javascript showing up in the mobile, which don't work well for mobile).

So I'd like is start every mobile user off with the home page and direct the navigation through the mobile menu links. If a google search is done with the phone, and an otherwise desktop search result links to any particular page of the website, can the mobile device be detected and redirect the user to the mobile home page, rather than the corresponding mobile version link? Is this possible?

Re: Redirects to mobile homepage instead of mobile version of link? 13 years ago #6120

  • skibikekite
  • OFFLINE
  • Junior Boarder
  • Posts: 39
  • Karma: 0
Is anyone out there still having this issue? I first noticed it when a link back to my site is clicked in a Google Maps .kml file. I have since ruled it out as an issue with the Google Maps link by typing in the article URL directly (a different article to avoid any cacheing/cookie issues) and the same thing happens; I am always redirected to the homepage and cannot reach my article. I am using an Android. I have not tested on iPhone yet. This is supposed to be fixed in the new version, so I have not tried the piece of code mentioned above.
  • Page:
  • 1
Time to create page: 0.19 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.