Incorporate .htaccess logic from previous site version