I have set up a 301 redirect rule in the .htaccess file in the root directory in my joomla site all according to how it should be done.
The code looks like this, and is entered directly after the "RewriteEngine On", like this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^gagneffiske.se
RewriteRule (.*)
www.gagneffiske.se/$1 [R=301,L]
What this does is simply to redirect all urls without www. in front to the
www.gagneffiske.se url to avoid double indexing in google. It works fine but not with Mobile Joomla as it seems...
Mobile Joomla seem to loose mobile site detection when activating this code.
Now as this is a very important thing to redirect urls either with www or without www like I have done it would be great if there is a solution to this.
It affects all my sites except for one which makes this even more weird.
The site that this script doesn't seem to affect the Mobile Joomla functionality is
www.lmiab.se
So please witgh sugar on top if anyone has a solution to this it would be great.
Cheers
LAMF