diff --git a/README.md b/README.md index fd08d9e..591163c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ What we are doing here is mostly collecting useful snippets from all over the in - [Remove Trailing Slash](#remove-trailing-slash) - [Remove Trailing Slash from Arbitrary Paths](#remove-trailing-slash-from-arbitrary-paths) - [Redirect a Single Page](#redirect-a-single-page) - - [Redirect using RedirectMatch](#redirect-using-redirectmatch) + - [Redirect Using RedirectMatch](#redirect-using-redirectmatch) - [Alias a Single Directory](#alias-a-single-directory) - [Alias Paths to Script](#alias-paths-to-script) - [Redirect an Entire Site](#redirect-an-entire-site) @@ -138,7 +138,7 @@ Redirect 301 /oldpage2.html http://www.example.com/folder/ ``` [Source](http://css-tricks.com/snippets/htaccess/301-redirects/) -### Redirect using RedirectMatch +### Redirect Using RedirectMatch ``` apacheconf RedirectMatch 301 /subdirectory(.*) http://www.newsite.com/newfolder/$1 RedirectMatch 301 ^/(.*).htm$ /$1.html