# Changing WordPress settings from wp-config.php

> Change WordPress wp-config.php settings such as post revisions, autosave interval and trash days for a Phluit Managed WordPress site, without editing files.

Source: https://docs.phluit.com/products/managed-wordpress/wordpress-configuration-settings/

Some WordPress settings live in the `wp-config.php` file rather than in WP Admin. On Phluit you don't edit that file yourself: the settings that are safe to change are in the portal, under **Advanced → Configuration**.

## Change a setting

1.  In the portal (**portal.phluit.com**), go to **My Sites** and open the site.
2.  Click the **Advanced** tab, then **Configuration**.
3.  Enter a value, or choose **On** or **Off**. Leave a field empty, or choose **Default**, to use WordPress's own default.
4.  Click **Save settings** and confirm _"Save these settings? The site restarts (a few seconds)."_

The site restarts for a few seconds with the new settings. The change appears on the **Activity** tab as **Site settings changed**.

## The settings

| Setting | What it does |
| --- | --- |
| **Post revisions kept** | How many earlier versions of each post and page WordPress keeps (0 to 100). 0 keeps none. |
| **Autosave every (seconds)** | How often the editor saves a draft while you write (10 to 3,600 seconds). |
| **Empty the trash after (days)** | When trashed posts and comments are deleted for good (0 to 365 days). 0 deletes at once, without a trash. |
| **Overwrite images when editing** | Off keeps the original file after you crop or rotate an image. |
| **Combine WP Admin scripts** | Turn it off when the admin area looks broken. |
| **Load full (unminified) core scripts** | For developers debugging JavaScript or CSS. |
| **Show raw fatal errors** | Shows PHP's own error instead of WordPress's "There has been a critical error" page. Use it only while you look for a problem. |

## Good to know

-   If nothing changed, the panel says _"Nothing changed, so the site was not restarted."_
-   A number outside the allowed range isn't saved; the panel tells you which values are allowed.
-   Debug mode has its own switch under **Advanced → Developer settings**. See [Turning on debug mode and reading the error log](/products/managed-wordpress/wordpress-debug-mode-and-error-log/).
-   PHP limits such as memory and upload size are under **PHP & e-mail**. See [PHP settings: memory, uploads, execution time and input variables](/products/managed-wordpress/wordpress-php-settings/).
