Redirecting links on site with https and port 443
-
In the file common/util.php on line 169 there is an if-statement that adds the port to the path if the port is something else than 80. Since https usually is on port 443 instead of 80 it makes none of the redirections work because the port isn’t included in the wordpress site url.
If the site is running on a different port than 80 this will not work, so there should be an option to set another port if it isn’t 80.For example:
https://example.com/test > https://example.com/another-testWill only work if the port is added to the url: https://example.com/test:443
But since post redirections are automatic, the port isn’t included in the url.
- The topic ‘Redirecting links on site with https and port 443’ is closed to new replies.