WP Super Cache
Rewrite rules in .htaccess and deployment script (1 post)

  1. rapsli
    Posted 3 years ago #

    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:
    RewriteCond %{DOCUMENT_ROOT}/home/ubuntu/deployments/wordpress/wordpress-10-03-12-20:42:01

    Well, obviously this Cond doesn't apply anymore because the timestamp changes at every deployment.

    Any ideas, how to solve this?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.