In order to test if a new design is going to be useful, we’re doing A/B testing on it. However, the design integrates a large number of files so we don’t want to have to keep moving them around.
Is it possible to use mod_rewrite to mask the fact that we’ve moved both into their own subdirs?
In other words, someone visits http://www.ourdomain.com/ and they see the design located in “public_html/old/” or “public_html/new/” depending on which we have set to show in .htaccess. However, they never know the designs are in subdirs.
Try putting this in the htaccess file in your document root:
replacing the instances of
oldwithnewas needed.