Issues with IP/domain name on Wordpress?

When I type in my domain name, the website shows up correctly, as in

As soon as I click on any link on the wordpress site, however, it immidiately moves to the M.Y.I.P/hello-world, or whatever else I click. Even if I click the header, it brigns me to M.Y.I.P. The permalink section in the settings also shows the format as M.Y.I.P/…

How can I fix this?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

I’ve managed to fix this myself. Here is the fix for anyone experiencing the same issue in the future:

1. Login to your wordpress dashboard
2. Left menu select "Settings" --> "General"
3. Change both "WordPress Address (URL)" and "Site Address (URL)" from your IP to your domain name (don't forget to also put http:// in front of your domain, or https:// if you have SSL) and hit "save changes"
4. Goto "Settings" --> "Permalinks" and click on "save changes"