why do you want a subdomain??

jamiegee
13 years, 6 months ago
Barnabs,

Did you test my url?

I've tried this using testiphone.com on both mac and PC now using latest versions of IE, FF, Explorer, Chrome and I don't get redirected

Boohoo....
J
jamiegee
13 years, 6 months ago
oops! doubled up on my replies.....
Barnabas
13 years, 6 months ago
Testiphone needs some help. You have to change the user agent on the browser as well.
It's an add on called "user agent switcher" on firefox.
For IE look under Tools for set ua string.
Hope that helps.
jamiegee
13 years, 6 months ago
Brilliant, thanks. I couldn't find it for IE though....
chris.new
13 years, 6 months ago
If you are looking to make it as a subdomain, there are really good advantages but some would not even notice it judging from what it entails. For onr, subdomains could be published in print media. And it will always come out on mobile version. Though, you are to link it back to the root directory for it to appear and work.
Barnabas
13 years, 6 months ago
Jamigee,
You are welcome. Thanks for posting the result.
I was using IE8, I don't know the answer for IE9.
krgrube
13 years, 4 months ago
I had the same problem as everyone else. Plain vanilla site. Just wanted mobile support. My problem I discovered was the redirect wasn't happening. I installed a plain mobile joomla, no changes. Under the root I had a iphone subdirectory empty. Cpanel created a subdomain iphone.xxx.com and nothing happened. Just a index/ page. My cpanel doesn't allow a redirect (000webhost) to the root like all the videos show. So I created a iphone subDirectory under the root and put an index.html. In the index.html I put <meta HTTP-EQUIV="REFRESH" content="0; url=xxx.com">. Browse to iphone.xxx.com on my iphone and the index.html redirects to xxx.com and the iphone mobile loads fine with my homepage menu items. When the redirect happens from the sub to the domain it uses the mobile templates. I worked for hours tshooting and solved it in 2 minutes with a redirect.
dryabov
13 years, 4 months ago
Usually cPanel allow to change DocumentRoot at creating of subdomain. Just set it the same as main domain has.
estorus
13 years, 4 months ago
Nice work!
hostess
13 years, 3 months ago
Dear readers, I'm getting confused. I installed the component, created subdomains (iphone; imode; m; pda; wap). My host uses 'Direct Admin' so I cannot find a way to redirect those subdomains to the root. Instead I created index.php which contains : <?php header('Location: www.detheeketel.nl/'); /* Stuur de browser naar www.site.nl */ ?> Trying to switch (Firefox) to 'iphone' it still shows the original site. (www.detheeketel.nl) . Can anyone help me out? I must be doing something wrong, since I see no template changes.

Addition: I found this nice help.
www.opera.com/developer/tools/
There it looks quite allright.
1 3 5

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.