Last active
December 16, 2015 14:59
Revisions
-
huntlyc revised this gist
Apr 25, 2013 . 1 changed file with 2 additions and 2 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 @@ -1,6 +1,6 @@ #Domain Redirect <IfModule mod_rewrite.c> RewriteBase / RewriteCond %{HTTP_HOST} ^(www\.)?huntlywordpress\.co\.uk$ [NC] RewriteRule ^ http://www.huntlywordpress.com%{REQUEST_URI} [R=301,L] </IfModule> -
huntlyc revised this gist
Apr 24, 2013 . 1 changed file with 9 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,4 +1,12 @@ #Domain Redirect <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / #RedirectMatch 301 ^/contact\/$ http://www.huntlywordpress.com/contact/ RewriteCond %{HTTP_HOST} ^(www\.)?huntlywordpress\.co\.uk$ [NC] RewriteRule ^ http://www.huntlywordpress.com%{REQUEST_URI} [R=301,L] </IfModule> #EndDomain Redirect #BEGIN custom redirects (single page) <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / -
huntlyc created this gist
Apr 24, 2013 .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,18 @@ #BEGIN custom redirects <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RedirectMatch 301 ^/contact\/$ http://www.huntlywordpress.com/contact/ </IfModule> #END custom redirects # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress