Question

How to stop redirecting of the IP adress to the domain

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

Subscribe
Share

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

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.

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

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

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