Search the Community
Showing results for tags 'non-www'.
-
I have PS 1.5.6.2 installed in a subfolder of my domain (www.mydomain.com/us/) I have friendly urls on, and in"Preferences > SEO & URLs" my shop domain and ssl domain are set to www.mydomain.com and the base url: /us/ When checking the redirect of non www (http://mydomain.com/us/ -> http://www.mydomain.com/us/'>http://www.mydomain.com/us/) It shows that it is a 302 redirect, but I would like it to be a 301 redirect. So I have tried adding a redirect to the very top of my htaccess file: RewriteCond %{HTTP_HOST} ^mydomain\.com$ RewriteRule ^us/$ http://www.mydomain.com/us/? [L,R=301] The problem here is that http://mydomain.com/us/ then redirects to http://www.mydomain.com and not as intended http://www.mydomain.com/us/'>http://www.mydomain.com/us/ How can this be resolved? Thanks!
-
Hi, I have followed online guides on how to make redirects from http:// to http://www. The problem is I know how to set it up now and it works. Except photos and productpages etc. does not work when I set it up. I am using 1.5.2 by the way. How do I make a redirect to www without experiencing this error? Kind regards, V http://plainindustry.dk
-
Hi, I am trying to direct all non-www requests to www on the website varaldocosmetica, but it is not working. The code I am using is: RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.varaldocosmetica\.it [NC] RewriteRule ^(.*)$ http://www.varaldocosmetica.it/$1 [R=301,NC,L] Any ideas, Thanks