Created
August 14, 2018 13:46
-
-
Save renekreijveld/c6e6c8e523f22647383a060b657961b8 to your computer and use it in GitHub Desktop.
Add this code snippet to .htaccess of your Joomla website after RewriteEngine On
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Redirect WordPress attempts - BEGIN | |
Redirect 301 /wp-login.php http://127.0.0.1/wp-login.php | |
Redirect 301 /wp-admin.php http://127.0.0.1/wp-admin.php | |
RewriteRule ^wp-content(.*)$ http://127.0.0.1/$1 [L,R=301] | |
RewriteRule ^wp-admin(.*)$ http://127.0.0.1/$1 [L,R=301] | |
## Redirect WordPress attempts - END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment