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:
parent
68334b718c
commit
1e86578d2d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue