Question

How to stop redirecting of the IP adress to the domain

Posted August 27, 2018 2.3k 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

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.

×
2 answers

You need to make changes to WordPress database. Update the site URL. This might help,
https://codex.wordpress.org/Changing_The_Site_URL

Did you get this fixed? I’m having the same issue

Submit an Answer