How would one change the ip, to not contain the port number?
-
Hello,
I have this IP: https://example1.noip.me:99/
that I set up at noip.com
with a DNS Host (A) option, to my localhostBut I would like it to work like this: https://example1.noip.me
I am able to change it to another caategory/option, like Web Redirect.
I have this other Host: example2.no-ip.org, which updates automatically (set up in the router).
So I was thinking to redirect, on the noip site, the first one (example1) to the second one (example2).Things work fine, if I access https://example1.noip.me (without the port number), after redirecting it to example2.no-ip.org:99 (on the noip site).
However, links no longer work (in the WordPress site), since there, I have set up example2.no-ip.org:99, so it tries to follow links with that address.So what am I supposed to do?
If I change the siteurl and home to https://example1.noip.me, the site no longer works (I believe it redirects itself infinitely?).So I was reading to add this to the function.php file:
remove_filter(‘template_redirect’,’redirect_canonical’);Then it shows up, but only text, no formatting, and the links dont work either.
What am I doing wrong? Or How can I solve this issue?
Thanks!
- The topic ‘How would one change the ip, to not contain the port number?’ is closed to new replies.