mstevanic Posted November 26, 2015 Share Posted November 26, 2015 (edited) Hello to all, how can I change the .htaccess file so that I'm get the file after remain the same and no changes? Namely what happens, I try a couple of times to edit the above file, but I'm see that after a while "he" comes back in the original condition that I had before changing?? Im trying to put this in my file,but every morning Ill see same,without this again and again? <IfModule mod_expires.c> # Enable expirations ExpiresActive On # HTML ExpiresByType text/html "access plus 2 days" </IfModule> Thanx Edited November 26, 2015 by mstevanic (see edit history) Link to comment Share on other sites More sharing options...
SupportPS Posted November 26, 2015 Share Posted November 26, 2015 Hello. Generating file is only done if you turn on friendly url. If this happens every day for no reason, then write to your provider support. Link to comment Share on other sites More sharing options...
mstevanic Posted November 26, 2015 Author Share Posted November 26, 2015 Friendly url is already set to YES.. Link to comment Share on other sites More sharing options...
SupportPS Posted November 27, 2015 Share Posted November 27, 2015 If this happens every day for no reason, then write to your provider support. Link to comment Share on other sites More sharing options...
rocksmethew Posted November 30, 2015 Share Posted November 30, 2015 I cant see why that would cause an error like that, for starters: enclosing those rules inside <IfModule mod_rewrite.c> and </IfModule> tells apache NOT to complain if, for some reason, mod_rewrite is not available. 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