From c77fcabb2848e37c282c2fe430e52cabb9dc08ff Mon Sep 17 00:00:00 2001 From: An Phan Date: Mon, 6 Apr 2015 17:53:58 +0800 Subject: [PATCH] Fixed directory redirection --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56e83bd..5c36880 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ Redirect 301 /oldpage2.html http://www.example.com/folder/ ### Alias a Single Directory ``` apacheconf RewriteEngine On -RewriteRule ^source-directory/(.*) target-directory/$1 +RewriteRule ^source-directory/(.*) /target-directory/$1 [R=301,L] ``` ### Alias Paths To Script