Learn How WordPress Works?

WordPress is the most popular website builder. you can use it to create a beautiful website or blog. It just may be the easiest and most flexible blogging and website content management system (CMS) for all start-up businesses.

WordPress as a software is free for you to download and use. 

Now back come to the point so WordPress build in PHP Language. You can easily make a website and blog without spending money. 

The wp-config.php is the WordPress configuration file. It sets global variables for a WordPress site and contains your WordPress database information.

File => wp-config.php

<?php

/**

* The base configuration for WordPress

 * The wp-config.php creation script uses this file during the

 * installation. You don't have to use the website, you can

 * copy this file to "wp-config.php" and fill in the values.

 * This file contains the following configurations:

 * * MySQL settings

 * * Secret keys

 * * Database table prefix

 * * ABSPATH

 * @link https://wordpress.org/support/article/editing-wp-config-php/

 * @package WordPress

 */

// ** MySQL settings - You can get this info from your web host ** //

/** The name of the database for WordPress */

define( 'DB_NAME', '' );


/** MySQL database username */

define( 'DB_USER', '' );


/** MySQL database password */

define( 'DB_PASSWORD', '' );


/** MySQL hostname */

define( 'DB_HOST', 'localhost' );


/** Database Charset to use in creating database tables. */

define( 'DB_CHARSET', 'utf8' );


/** The Database Collate type. Don't change this if in doubt. */

define( 'DB_COLLATE', '' );


/**#@+

 * Authentication Unique Keys and Salts.

 *

 * Change these to different unique phrases!

 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

 *

 * @since 2.6.0

 */

define( 'AUTH_KEY',         'put your unique phrase here' );

define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );

define( 'LOGGED_IN_KEY',    'put your unique phrase here' );

define( 'NONCE_KEY',        'put your unique phrase here' );

define( 'AUTH_SALT',        'put your unique phrase here' );

define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );

define( 'LOGGED_IN_SALT',   'put your unique phrase here' );

define( 'NONCE_SALT',       'put your unique phrase here' );


/**#@-*/

/**

 * WordPress Database Table prefix.

 *

 * You can have multiple installations in one database if you give each

 * a unique prefix. Only numbers, letters, and underscores please!

 */

$table_prefix = 'wp_';


/**

 * For developers: WordPress debugging mode.

 *

 * Change this to true to enable the display of notices during development.

 * It is strongly recommended that plugin and theme developers use WP_DEBUG

 * in their development environments.

 *

 * For information on other constants that can be used for debugging,

 * visit the documentation.

 *

 * @link https://wordpress.org/support/article/debugging-in-wordpress/

 */

define( 'WP_DEBUG', false );


/* That's all, stop editing! Happy publishing. */


/** Absolute path to the WordPress directory. */

if ( ! defined( 'ABSPATH' ) ) {

define( 'ABSPATH', __DIR__ . '/' );

}


/** Sets up WordPress vars and included files. */

require_once ABSPATH . 'wp-settings.php';




WordPress allows developers to create their own database abstraction layers and load them in a db.php file placed inside the wp-content folder. It is commonly used by WordPress caching plugins to improve database performance. If your website has this file present, then WordPress will load it.

WordPress allows installing themes or plugins ( Free or Paid ) which are available in WordPress. you can easily create a woo-commerce website using a woo-commerce plugin that plugin allows you to manage your product, orders, sales, and inventory.

Too many plugins can lead to security breaches on your sitesite crashes, bad performance, slow loading speeds, and more. A good rule of thumb is to never exceed 20 pluginsIf your site is hosted on shared or budget cloud hosting, try not to use more than 5 plugins.



Comments