Last active
November 12, 2019 12:04
-
-
Save dptole/2d4a1ec7a0a15bfc88fb4ff475f7567c to your computer and use it in GitHub Desktop.
WP-trick
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
// Evitar que o wordpress redirecione caso o host e porta | |
// utilizados para acessar o cms sejam diferente daqueles | |
// configurados na instalação | |
// Adicionar no fim do arquivo wp-load.php | |
remove_all_actions('template_redirect'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment