Jump to content

Is this 301 redirect code made correctly and placed on the right place of the .htaccess file?


Recommended Posts

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:

post-794866-0-92084600-1465632028_thumb.png

post-794866-0-92084600-1465632028_thumb.png

Edited by HHServices (see edit history)
Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...