[Plugin: WP Super Cache] Rewrite rules in .htaccess and deployment script
-
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 folderThis works perfectly fine, except for in the .htaccess there is a rule like this:
RewriteCond %{DOCUMENT_ROOT}/home/ubuntu/deployments/wordpress/wordpress-10-03-12-20:42:01Well, obviously this Cond doesn’t apply anymore because the timestamp changes at every deployment.
Any ideas, how to solve this?
- The topic ‘[Plugin: WP Super Cache] Rewrite rules in .htaccess and deployment script’ is closed to new replies.