HH Services Limited Posted June 11, 2016 Share Posted June 11, 2016 (edited) Hello, (please see snapshot) Is this 301 redirect code made correctly and placed on the right place of the .htaccess file for https://www.highesthelp.com/es/module/smartblog/category is the old url and https://www.highesthelp.com/es/psychicblog.html is the new one? Thanks Snapshot: Edited June 11, 2016 by HHServices (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted June 11, 2016 Share Posted June 11, 2016 I suggest you place your 301 redirect lines before following 404 error page redirection #If rewrite mod isn't enabled ErrorDocument 404 /dev16x/index.php?controller=404 But, please be noted that the .htaccess file be regenerated by PresatShop when something is changed, for example when you switch on off and on of SEO friendly URL. add a new languages,.... Link to comment Share on other sites More sharing options...
HH Services Limited Posted June 11, 2016 Author Share Posted June 11, 2016 Th I suggest you place your 301 redirect lines before following 404 error page redirection #If rewrite mod isn't enabledErrorDocument 404 /dev16x/index.php?controller=404 But, please be noted that the .htaccess file be regenerated by PresatShop when something is changed, for example when you switch on off and on of SEO friendly URL. add a new languages,.... This is why I have read before that it should be placed outside of the prestashop message, because that part does not get deleted.... Is this true? Link to comment Share on other sites More sharing options...
shokinro Posted June 11, 2016 Share Posted June 11, 2016 actually you are right, I forgot about this. Link to comment Share on other sites More sharing options...
HH Services Limited Posted June 11, 2016 Author Share Posted June 11, 2016 (edited) actually you are right, I forgot about this. About the code is it right?: Redirect 301 https://www.shop.com/en/module/smartblog/category https://www.shop.com/en/psychicblog.html Redirect 301 https://www.shop.com/es/module/smartblog/category https://www.shop.com/es/psychicblog.html ...for... https://www.shop.com/en/module/smartblog/category is the old url and https://www.shop.com/en/psychicblog.html is the new one and https://www.shop.com/es/module/smartblog/category is the old url and https://www.shop.com/es/psychicblog.html is the new one Thanks. Edited June 11, 2016 by HHServices (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted June 11, 2016 Share Posted June 11, 2016 the code itself is fine. but your redirecting destination URL seems not correct. The following URL is incorrect, it does not exists. https://www.shop.com/es/psychicblog.html Link to comment Share on other sites More sharing options...
HH Services Limited Posted June 11, 2016 Author Share Posted June 11, 2016 its a demo url, it is just to see that, if the url was correct, then the code placed where I indicated at the beginning of the post is right (both, the code and the place in the .htaccess file)? 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