WEB: Catch WP admin too. This is to decrease number of 404's

This commit is contained in:
Eugene Sandulenko committed 2018-01-14 20:46:56 +01:00
1 parent af7f386aae
commit 348eba157e
1 file changed
+1 -1
+1 -1
View File
@@ -81,7 +81,7 @@ RewriteRule ^scummvm_appcast.xml appcasts/macosx/release.xml [L]
##
# Catch script kiddies
##
RewriteRule ^wp-login / [R=301]
RewriteRule wp-(admin|login) / [R=301]
##
# Forward old page requests to the new fancy URLs