Website redirecting to IP

November 29, 2019 86 views
WordPress Ubuntu 18.04

Hello Team,

I am facing issue related to redirecting of website. My websites domain name is example.com. Whenever I hit the URL of example.com website is working properly. but whenever I hit the URL www.example.com or example.com/wp-admin it is redirecting to IP address. I have already changed the site and Home URL example.com in setting of dashboard. Your support will be very helpful for me.

1 Answer

Hello, @Web1developer

Can you you please let me know if you’re using .htaccess file and also if you can search for the IP address in your database to see if there are more references of the IP address that can cause the issue for you.

Regards,
Alex

Have another answer? Share your knowledge.

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