Issues with IP/domain name on Wordpress?

Posted August 27, 2016 2.1k views
UbuntuWordPressLAMP Stack

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?

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.

Submit an Answer
1 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"