Last active
September 28, 2024 05:32
-
-
Save bstonedev/7a227841a9cfdf1601da00d04a507f32 to your computer and use it in GitHub Desktop.
WordPress Redirection Plugin - Redirect all pages except wp admin pages
This file contains hidden or 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
Source URL: ^(\/(?!wp-admin|wp-login).*)$ | |
Target URL: https://main-website.com/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment