I have a subdomain setup for mysite.com called mobile.mysite.com. If I enable "Enable automatic redirection of the mobile user" the mobile users are sent to mysite.com/mobile.mysite.com instead of mobile.mysite.com. Is this how this feature is supposed to work? If so further clarification (such as prefixing the base url to the input field) would greatly clear up any misunderstandings.

If this is now how this should work (which I don't think it is) what might be causing this?

CommentFileSizeAuthor
#2 mobile_tools-redirect-url-810400.patch971 bytesatavio

Comments

atavio’s picture

Adding http:// to the mobile URL will solve the problem.

atavio’s picture

StatusFileSize
new971 bytes

Here is a patch that should solve this problem.

Helps also if you have directory based multisites and you put the directories also in the URL in the following form:

Durrok’s picture

EDIT:

Actually although those looks like good features it still puts the base url & then whatever I put into the mobile field. Let me do some more testing here.

EDIT x2 -

Actually looks like it works on some parts of the site, but other parts it does not. Seems to be at random...

ckidow’s picture

any updates on this?

devin carlson’s picture

Status: Active » Closed (fixed)

The 1.x branch of Mobile Tools is currently out of date and unsupported.

Please upgrade to the latest version of Mobile Tools and see if your issue persists. If it does, you may reopen this issue or file a new one.