WordPress.org

Ready to get started?Download WordPress

Forums

Site Crash after changing WordPress Address (3 posts)

  1. Dublin Rebels
    Member
    Posted 5 years ago #

    While in the dashboard, I changed the WordPress address and the Blog address from http://www.my-site.com to http://www.mysite.com

    When I clicked Save, I was redirected out of the dashboard and unable to log back into wp-admin/ Now my whole site is down. I am unable to log in, nor can I find the php file where this line is stored, using FTP.

    Can you please advise

    Regards
    C Quinn

  2. Dublin Rebels
    Member
    Posted 5 years ago #

  3. acurran
    Member
    Posted 5 years ago #

    This is an area of weakness of WP. Sometimes I build websites with a temporary domain and switching the domain to the final domain can be a real hassle afterwards. I've achieved it in the past by taking a database dump and doing a search and replace but it's hardly a very graceful approach. Then some plugin settings can get messed up by this approach (cforms caused me problems and required to be reinstalled and reconfigured).

    WP ties the site to the domain name too severely by hard coding it in so many places. Why does it use full paths for images and links in posts instead of relative paths?

    I'd love to see WP build in a simple, safe, approach for changing the domain name in a future release and also keep paths relative where possible. It is common practice to build sites on a temp domain name and then change it to the real one when ready to go live.

Topic Closed

This topic has been closed to new replies.

About this Topic