Hie, i have my website’s domain registered and hosted on digital ocean, now i’ve finished working on it via WordPress installed on the same hosting provider, but it somehow continues to redirect to the IP address url instead of domain name url (like sitename.com).
Any idea as to how i can solve this problem
your help is greatly appreciated in this matter
This textbox defaults to using Markdown to format your 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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Better to add in the Nginx config for faster redirect and security as taken from SlickStack (GitHub) below example
Hello,
Indeed in most cases, this is due to incorrect Site and Home URLs. I would suggest the following:
Let me know how it goes! Regards, Bobby