Then it seems there is no solution (unlikely you have shell access to make subdomain to be symlink to maindomain directory, and there is no other way).
Hi, i'm having the same problem, but the path for domain and mobile.domain are the same.
Here's the full path and address:
main: public_html/madwarp.com
mobile: public_html/madwarp.com
site: www.madwarp.com
mobile site: mobile..madwarp.com
The main domain is redirected from madwarp.com.
Here's the full path and address:
main: public_html/madwarp.com
mobile: public_html/madwarp.com
site: www.madwarp.com
mobile site: mobile..madwarp.com
The main domain is redirected from madwarp.com.
madwarp, what redirects do you have in htaccess?
this one
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.madwarp.com$ [NC]
RewriteRule ^(.*)$ www.madwarp.com/$1 [L,R=301]
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.madwarp.com$ [NC]
RewriteRule ^(.*)$ www.madwarp.com/$1 [L,R=301]
Replace
by
RewriteCond %{HTTP_HOST} !^www.madwarp.com$ [NC]
by
RewriteCond %{HTTP_HOST} ^madwarp.com$ [NC]
thanks for the quick reply!
now it works!
now it works!
I am having a similar issue, I have used the following directive:
RewriteCond %{HTTP_HOST} ^matco\.net$ [NC]
RewriteRule ^(.*)$ www.matco.net/$1 [L,R=301]
I have MJ setup to NOT use multisite support, so it is not redirecting anywhere.
When I access the site using my iPhone4 over my LAN, the site renders beautifully, but as soon as I switch to 3G, Safari throws the error too many redirects.
Now when I surf to it over my LAN, it renders the desktop site and I can't get it to load the mobile site...any help would be appreciated.
RewriteCond %{HTTP_HOST} ^matco\.net$ [NC]
RewriteRule ^(.*)$ www.matco.net/$1 [L,R=301]
I have MJ setup to NOT use multisite support, so it is not redirecting anywhere.
When I access the site using my iPhone4 over my LAN, the site renders beautifully, but as soon as I switch to 3G, Safari throws the error too many redirects.
Now when I surf to it over my LAN, it renders the desktop site and I can't get it to load the mobile site...any help would be appreciated.
thejamjr wrote:
It means hat your mobile ISP change page content and/or http headers (O2 is most know to do this, but others may do it too).
thejamjr wrote:
MJ saves current "mode" in cookies, so most likely you tries to switch to full version by typing site URL instead of using SelectMarkup module. Also you can clear cookies to redetect your device.
When I access the site using my iPhone4 over my LAN, the site renders beautifully, but as soon as I switch to 3G, Safari throws the error too many redirects.
It means hat your mobile ISP change page content and/or http headers (O2 is most know to do this, but others may do it too).
thejamjr wrote:
Now when I surf to it over my LAN, it renders the desktop site and I can't get it to load the mobile site...any help would be appreciated.
MJ saves current "mode" in cookies, so most likely you tries to switch to full version by typing site URL instead of using SelectMarkup module. Also you can clear cookies to redetect your device.
Solved the problem, I had an .htaccess file in my cgi-bin that was blocking access, removed that and it works beautifully...thanks for the help!