How to stop redirecting of the IP adress to the domain

August 27, 2018 1.1k views

Wordpress is installed in my droplet. I was using a domain adress for my website but I no longer use this domain. Now I want to access to my droplet’s wordpress via it’s IP adress but it’s still redirecting to my domain. I deleted everything about the domain from user CP. But it’s still redirecting and since the domain is expired I can’t access to the sites Wordpress control panel.
I did everything, all the changes in the apache2 config files and htaccess files I followed all the instructions in the apache and ubuntu tutorials I found on the net, but it didn’t work please help me

1 Answer

You need to make changes to WordPress database. Update the site URL. This might help,

Have another answer? Share your knowledge.