Skip to main content
All CollectionsWordify Help
Easily edit the WordPress Configuration
Easily edit the WordPress Configuration

You can use the WordPress > Configure option in my.wordify.com to easily edit the WP Configuration without having to edit the wp-config.php

Nick avatar
Written by Nick
Updated over a week ago

Managing a WordPress site often involves editing the wp-config.php file to add or update configurations. However, with the my.wordify.com platform, you can streamline this process using the WordPress Config option. This allows you to add configurations directly through the user interface without manually editing the wp-config.php file. Here’s how you can do it.

Step-by-Step Guide to Adding a Constant Configuration

1. Access the Site Configuration

• Log in to your My.Wordify.com account.

• Locate the site you want to configure and click on the cog icon next to the site name. This will open the configuration options for that particular site.

2. Navigate to the WordPress Config

• Once you’re in the site configuration page, click on the WordPress > Config tab from the menu. This section allows you to manage various WordPress configurations without touching the core files.

3. Create a New Config

• In the Config section, click on the + Create Config button. This will bring up a form where you can add a new configuration setting.

4. Choose Between Constant or Variable

• You will be prompted to choose between Constant and Variable:

Constant: These are settings that define fixed values in WordPress, often used to enable or disable features, such as WP_DEBUG.

Variable: These are dynamic settings that can change based on conditions or logic, but in this context, you’ll typically use Constants.

5. Enter the Configuration Details

Name Field (Constant Name): In this field, enter the name of the constant you wish to add. For example, if you’re enabling debug mode, you would enter WP_DEBUG.

Value Field (Constant Value): In this field, enter the value for the constant. For example, to enable debug mode, you would enter true.

6. Save the Configuration

• After entering the name and value, click Confirm to apply the configuration. The new setting will now be added to your WordPress site without the need to manually edit the wp-config.php file.

Example Usage: Enabling WordPress Debug Mode

Let’s say you want to enable WordPress debug mode to help diagnose issues on your site. Instead of editing the wp-config.php file, you can do the following:

1. Click the + Create Config button in the WordPress > Config section.

2. Choose Constant.

3. In the Name Field, enter WP_DEBUG.

4. In the Value Field, enter true.

5. Click Save.

This will add the following line to your WordPress configuration:

define('WP_DEBUG', true);

With this, WordPress debug mode is enabled, allowing you to see errors and warnings directly on your site. This is particularly useful during development or troubleshooting.

Did this answer your question?