Jump to content

[SOLVER] not generate .htaccess


davidcalabuig

Recommended Posts

Hi Calabuig,

 

In .htaccess, there is a part that PrestaShop modifies, but also a part that stays intact:

 

Everything between:

 

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
...
...
...
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
 
 
Will be removed and then re-generated, so if you want to keep your own redirects or other code, place that code OUTside this block (say, all the way at the end of the file or so.)
 
 
Hope this helps,
pascal.
 
 
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...