Can't figure out what I am missing. My phone is not displayiing the m subdomain and is displaying the primary domain url.
I have set-up the subdomain
m.wealthwisdomandsuccess.com and the following is in my htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^sitename\.com$
RewriteRule (.*)
sitename/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^m\.sitename\.com
RewriteRule (.*) ../sitename.com/$1 [L]
I have configured the component to use m.sitename.com for the domain. And redirect is set to no.
My document root for the subdomain is the same as for the primary domain.
After reading the instructions multiple times I can't figure out what I am missing - other than the fact that I am having my www. redirected.
But if I change my htaccess file to...
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.sitename\.com$
RewriteRule (.*)
sitename.com/$1 [R=301,L]
I get web page not available errors.
Any tips?
Thanks so much!
Leisa