I have a deployment script that does the following:
- clone git repository to folder with a timestamp
- remove .git folder
- symlink userdata into the new folder
- update symlink /var/www/wordpress to the clone new folder
This works perfectly fine, except for in the .htaccess there is a rule like this:
Well, obviously this Cond doesn't apply anymore because the timestamp changes at every deployment.
Any ideas, how to solve this?