2
0
Fork 0
mirror of https://github.com/phanan/htaccess.git synced 2018-11-08 13:39:40 +01:00

Minor spelling. Or is it grammar?

This commit is contained in:
An Phan 2015-08-21 14:33:47 +08:00
parent 68334b718c
commit 1e86578d2d

View file

@ -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