Last active
November 27, 2015 08:40
-
-
Save daveaspinall/579152fa35f70bfc21e3 to your computer and use it in GitHub Desktop.
Revisions
-
daveaspinall revised this gist
Nov 27, 2015 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,11 @@ <IfModule mod_rewrite.c> RewriteEngine On # Redirect upload requests to staging site RewriteRule ^wp-content/uploads/(.*)$ http://staging.domain.com/wp-content/uploads/$1 [L,R=301] # WP redirects follow... RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> -
daveaspinall revised this gist
Nov 2, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,5 @@ # Redirect upload requests to staging site RewriteEngine On RewriteRule ^wp-content/uploads/(.*)$ http://staging.domain.com/wp-content/uploads/$1 [L,R=301] # WP redirects follow... </IfModule> -
daveaspinall revised this gist
Oct 28, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ <IfModule mod_rewrite.c> # Redirect upload requests to staging site RewriteEngine On RewriteRule ^wp-content/uploads/(.*)$ http://staging.domain.com/wp-content/uploads/$1 [L,R=301] </IfModule> -
daveaspinall renamed this gist
Oct 28, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
daveaspinall revised this gist
Oct 28, 2015 . No changes.There are no files selected for viewing
-
daveaspinall renamed this gist
Oct 28, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
daveaspinall created this gist
Oct 28, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ <IfModule mod_rewrite.c> # Redirect upload requests to staging site RewriteEngine On RewriteRule ^wp-content/uploads/(.*)$ http://cahill-photo.staging.aws.carboncode.co.uk/wp-content/uploads/$1 [L,R=301] </IfModule>