Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

wp-config.php from my WordPress

The wp-config.php is one of the most important parts of our WordPress.

This file allows us to carry out the basic configuration of any WordPress, since it is where the main "low level" options are that allow us to have the CMS working.

The wp-config.php file is a PHP file, but it has little code to run. Instead, it has parameters and variables that are what define the proper functioning of the WordPress installation.

To find this file we must access by FTP

If you do not have access to your FTP account, visit our manual FTP account management.

Access the FTP account you have created with the Filezilla program. Inside the "/datos/web/" folder on your FTP, find the "wp-config.php" file and right-click on the file to select the Ver/Editar option.

The file "wp-config.php" will open.

MySQL data

These are the access data that WordPress uses to connect the website with the database. WordPress cannot function without a database.

It corresponds to these lines:

/** The name of the database for WordPress */
define( 'DB_NAME', 'NAME_WP' );

/** MySQL database username */
define( 'DB_USER', 'USER_WP' );

/** MySQL database password */
define( 'DB_PASSWORD', 'Password123' );

/** MySQL hostname */
define( 'DB_HOST', 'localhost' );

In case this configuration does not correspond to the data we have in our Hosting, we could find a connection error with the database.

FTP data

The FTP account data that has been created in our Hosting are also displayed:

define('FTP_HOST', 'swmanuales.com');
define('FTP_USER', 'USER_WP');
define('FTP_PASS', 'Password123');

Mail data

If we want to configure the WP Mail SMTP plug-in in our WordPress, we must take into account the email account and password used by WordPress:

define('WPMS_SMTP_USER', 'info@swmanuales.com');
define('WPMS_SMTP_PASS', 'Password123');

Debug mode

The wp-config.php file is essential to be able to activate debug mode in our Web:

define('WP_DEBUG',  false);
define('WP_DEBUG',  true);
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.