My iphone site is visible more on google search than original site. And it runs on PC as a iphone site, which is a bit distracting. I want to redirect to main site if it is not iphone device.
I am using mobile joomla component on my site.
I tried this htaccess code but it's not working for me:
RewriteCond %{HTTP_USER_AGENT} !^"iPhone" [NC]
RewriteRule .? www.example.com%{REQUEST_URI} [R=301,L]
Is there any easy way to solve this issue in mobile joomla component?
I am using mobile joomla component on my site.
I tried this htaccess code but it's not working for me:
RewriteCond %{HTTP_USER_AGENT} !^"iPhone" [NC]
RewriteRule .? www.example.com%{REQUEST_URI} [R=301,L]
Is there any easy way to solve this issue in mobile joomla component?