Hi all,

I have a question to anyone here with experience in setting up a Prestashop store.

I'm trying to setup a site-wide 301 redirect to my desired URL, eg http://www.mysite.co.uk/

I would normally do this by entering the following into the htaccess file:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.mysite\.co\.uk
RewriteRule (.*) http://www.mysite.co.uk/$1 [R=301,L]

However; before I did this I checked to see how Prestashop already handles the URLs. It turns out that all variants of the index URL are all 302 redirected.

There is no code in the .htaccess file that I can see that implements these 302's.

So; how do I get my desired URL to give a 200 response and have all others 301 redirected to this?

Hope I'm making sense!

Any advice will be greatly appreciated!