Support » Fixing WordPress » Changed the URL(s)

Viewing 5 replies - 1 through 5 (of 5 total)
  • This post was moved without my knowledge – hopefully someone over here will be able to help. .



    Forum Moderator

    The “Error establishing a database connection” error message suggests that there is either a problem in your wp-config.php file with the database host name. Or your hosting provider has a problem with their database server. Have you tried contacting theme?

    The error came from removing one or more lines from the general settings page within the WordPress admin panel. .

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    That may be true, but if your are getting “Error establishing a database connection” then the problem is with your database and needs to be fixed there.

    Right, from what I can see – it appears that the ‘Edit wp-config.php’ fix (from ) doesn’t change the location / value in the database: –

    NOTE: It won’t change the Database value though, and the url will revert to the old database value if this line is removed from wp-config. Use the RELOCATE constant to change the siteurl value in the database.”

    So when I get home am gonna try the below method: –

    I just hope the aforementioned ‘Edit functions.php’ fix from the same area won’t cause any further issue (see first post). .

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changed the URL(s)’ is closed to new replies.