Subject: WordPress - Install Another Copy of WordPress
The following message was sent by our staff regarding the above subject:
Hello!
To install another copy of WordPress there are two choices*.
////////////////
Note: If you're using a version of WordPress greater than 6, it will not work on a PHP 5 (Legacy) server. A new hosting account would have to be setup on our new PHP 7 capable platform.
You can order a new account with PHP 7 here: https://secure.webmasters.com//signup or your hosting account would have to be migrated.
More information: https://webmasters.com/php7
If that is not the case (i.e. you are installing WordPress 4.5 on a Legacy account), then you must first enable PHP 5 for the addon domain through the "PHP Manager" -> "PHP 5 Manager" by selecting the directory and using "Enable PHP 5 by Default" and then you can proceed below.
////////////////
1: Use the [Autoinstaller] to install one copy of WordPress and then 'clone' it into a new directory under your primary hosting directory.
(If you've already installed WordPress then you can just clone the existing directory and then change the wp-config.php file to reflect the new database and installation-- by using the [File Manager] in your control panel)
2: Download the WordPress package from the official website and upload it into the above directory, uncompress, and install it following the instructions in the package.
We recommend one database per WordPress installation. If you're installing another, use the [Database Admin] to create an additional database.
When modifying wp-config.php you will use the following:
/** The name of the database for WordPress */
define('DB_NAME', 'database');
/** MySQL database username */
define('DB_USER', 'database');
/** MySQL database password */
define('DB_PASSWORD', 'password');
/** MySQL hostname */
define('DB_HOST', 'localhost');
Obviously replace database and password with your information.
If you're using a secondary database then the 'database' would be entered like this:
accountusername_databasename
If your main hosting account login is 'bob' and your new database is 'wordpress', then your database name is:
bob_wordpress
So the short version of the above is:
1) Create a new database
2) Clone the directory for an existing WordPress install or install a fresh copy and clone that into your primary hosting directory
3) Modify wp-config.php for each installation to reflect the new database login information
Once you've got your clone of WordPress, load the URL to begin the setup.
ex: www.yourdomain.com/new-wordpress-directory/
*If you're trying to use an existing copy of WordPress from another site, for testing before setup for example, you would need to also import your database from the other site and then configure WordPress to accept it.
Import can be performed through the [Database Manager]
Please note that WordPress and other CMS programs will -not- always function properly when DNS is not pointed to the existing server. If you're unable to use it, you can try to use the control panel Alternate URL by inserting /wordpress-directory into the URL after the primary domain, such as : http://IPADDRESS/*primarydomain.com/(the rest of the path, /wordpress/etc..)
Please feel free to contact us again if you have any other questions or issues. Thank you for contacting us.
Best regards,
WEBMASTERS.COM
Support Team |