Essemme_Forniture Posted April 12, 2015 Share Posted April 12, 2015 (edited) Hi guys, i've a problem, i just changed a week ago the url of my site from www.affaridanoi.com/it to www.affaridanoi.com I've just deleted the /it but i've lot of error 404... i know, i did a stupid things , but i'm a noob I red that i've to write something on my htaccess file , but what i've to write to allow to ALL my url /it to go to the normal URL? Thanks for your support Edited April 13, 2015 by affaridanoi (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted April 13, 2015 Share Posted April 13, 2015 Add these lines to the top or the end of your .htaccess, but please don't add them into the block Prestashop is creating automatically. RewriteCond %{HTTP_HOST} ^www.affaridanoi.com/it$ [NC] RewriteRule ^(.*) http://www.affaridanoi.com/$1 [R=301] Good Luck. Link to comment Share on other sites More sharing options...
Essemme_Forniture Posted April 13, 2015 Author Share Posted April 13, 2015 Add these lines to the top or the end of your .htaccess, but please don't add them into the block Prestashop is creating automatically. RewriteCond %{HTTP_HOST} ^www.affaridanoi.com/it$ [NC] RewriteRule ^(.*) http://www.affaridanoi.com/$1 [R=301] Good Luck. Thanks a lot, i've already did everything putting this on the htaccess Redirect permanent /it/ http://www.affaridanoi.com/ Redirect permanent /de/ http://www.affaridanoi.com/ Redirect permanent /en/ http://www.affaridanoi.com/ Redirect permanent /fr/ http://www.affaridanoi.com/ Redirect permanent /es/ http://www.affaridanoi.com/ Thanks for your support Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now