How to stop redirecting of the IP adress to the domain

August 27, 2018 1.1k views
WordPress

Hi,
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 http://46.101.34.175/wp-admin but it’s still redirecting to my domain. I deleted everything about the domain from digitalocean.com 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,
https://codex.wordpress.org/Changing_The_Site_URL

Have another answer? Share your knowledge.