Alright my mobile joomla works fine if I access it from a mobile phone but it doesn't redirect to the subdomain just comes up as
www.jrdtech.net. If I type m.jrdtech.net it just changes back to
www.jrdtech.net and displays the mobile page. Now if I enable "domain (multisite) support the mobile version no longer displays in my mobile browser.
Here's the steps I've taken:
1. In cpanel created a subdomain 'm' with documentroot of /public_html Redirection "not redirected"
2. In mobile Joomla I used M for all the devices (hope thats alright to do?) and set Redirect to domain "yes"
3. Desktop URL
www.jrdtech.net/
4. According to the sticky I should have Domain (multisite) support set to 'Yes' so I set it to yes but as I mentioned about my mobile template loads without redirecting if I have it set to NO.
In my .htacess:
I have the following to redirect me from jrdtech.net to
www.jrdtech.net
RewriteCond %{HTTP_HOST} !^www.jrdtech.net$ [NC]
RewriteRule ^(.*)$ http://www.jrdtech.net/$1 [R=301]
and at the bottom my htaccess file I have this I'm guessing cpanel put it there since I'm pretty sure joomla or myself didn't.
RewriteCond %{HTTP_REFERER} !^http://jrdtech.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://jrdtech.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://m.jrdtech.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://m.jrdtech.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://reseller.jrdtech.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://reseller.jrdtech.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.jrdtech.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.jrdtech.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.m.jrdtech.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.m.jrdtech.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.reseller.jrdtech.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.reseller.jrdtech.net$ [NC]
Someone a few months ago said my redirect should be
RewriteCond %{HTTP_HOST} ^jrdtech.net$ [NC]
RewriteRule ^(.*)$
www.jrdtech.net/$1 [R=301,L]
But when I use that and type in jrdtech.net without the www. or with anything BUT
www.jrdtech.net I get a redirection loop error. Made sure all the mobile plugins were enabled as well. Any ideas on how to fix this? Thanks
EDIT: Oh and I'm using sh404sef if that makes a difference.