Support » Fixing WordPress » Editing wp-config file

  • Resolved kacper3355


    Hello. I’d like to edit wp-config.php file in order to change wp-content/uploads path. My question is: will I lose changes which I made there after updating WordPress or it works like child theme? Unfortunately, I can’t find any info about that on the internet.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello there!

    Do you refer to the changes that you will make in wp-config.php file of your installation?

    WordPress updates will not change your new uploads folder path in the configuration wp-config.php file.

    Hey! Thanks for quick reply!

    Yes, I refer to the wp-config.php file in my installation. πŸ™‚

    I also want to add some more changes to the file, so wp-config.php will never by overwritten by an update?

    No, never.

    The WordPress wp-config.php file is designed to store the global configuration of your website, such as database connection details, and security keys and salts.

    It is a file that also serves to overwrite some default WordPress settings, such as the path of the uploads folder, number of revisions, among others.

    Therefore, WordPress does not edit or overwrite the values that you can add in that file.

    Thank you for your comprehensive answer! πŸ™‚

    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Editing wp-config file’ is closed to new replies.