jeff8899 Posted September 8, 2016 Share Posted September 8, 2016 hi, i put some redirection code in .htaccess but the redirection code will be gone after a while. i think prestashop howsome regenerate the .htaccess file itself. how can add the redirection code or stop the regeneration? Thanks! Link to comment Share on other sites More sharing options...
rocky Posted September 8, 2016 Share Posted September 8, 2016 Did you put the redirection code before the comments at the start of the file or after the comments at the end of the file? If you do that, PrestaShop shouldn't overwrite your code when it automatically regenerates the .htaccess file. Link to comment Share on other sites More sharing options...
jeff8899 Posted September 8, 2016 Author Share Posted September 8, 2016 thanks rocky. I understand now! 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