Created
April 24, 2019 22:31
-
-
Save antoniopresto/05c7b9700ed9af2fd63b22d70a22461e to your computer and use it in GitHub Desktop.
prevent wordpress redirect subdomain
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
//... | |
remove_filter('template_redirect', 'redirect_canonical'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment