adsense

How to Use WordPress Database Multiple Places





1. Download the WordPress installation package from the WordPress.org website. Right-click on the downloaded file when the transfer is complete and click 'Extract' on the context menu. Alternately, you can use your preferred file extraction tool to unzip the file.
2. Locate the 'wp-config-sample.php' file from the unzipped contents of the installation package and open it in a text editor. Type your database information in the 'database name,' 'database username' and 'database password' sections. Save and close the file. Right-click on the file and choose 'Rename.' Rename the file to 'wp-config.php.'

3. Open your FTP software and upload the WordPress installation files to each blog site that will share a single database. Open the 'wp-config.php' file through your FTP software once the upload is complete on each site, one at a time.
4. Create a unique table prefix for the section labeled '$table_prefix = 'wp_';'. Replace 'wp_' with a different prefix for each blog site. Save the file. Each blog will now use a single database with different prefixes for its data.

Comments

0 Responses to "How to Use WordPress Database Multiple Places"

Post a Comment

Popular Posts

About