How to automate the website

How to automate the website

If the website represents a set of static HTML pages, for adding of new materials it is necessary to create the file on a template, and then to add references to it in other files. The program WordPress complex will help to automate this process.

Instruction

1. Make sure that the hosting which services you use supports PHP and MySQL. At the same time, the server can work running any OS.

2. Visit the website of hosting provider and enter the web interface under the login and the password. Find the menu allowing to manage databases of MySQL. Find in it point corresponding to creation of new base. Enter the description of this base and also think up for it a user name and the password (on a hosting they will not have relations to parameters of your account). The password shall be difficult.

3. Go out of the web hosting interface, and then be connected to the user folder on the server, using any FTP client. In Linux as that it is good to use the manager of the Midnight Commander files, and in Windows - FAR with the plug-in intended for this purpose.

4. Download the program WordPress complex from the website provided below. Select archive of the ZIP or TAR.GZ format, depending on what you have an archiver. In the majority of the Linux distribution kits it is possible to open archives of both formats, and in Windows such opportunity will appear after program installation 7-zip.

5. Unpack archive in the user folder on the server. After that find in it the wp-config-sample.php file and rename it into wp-config.php. Find in it the fragment containing the words putyourdbnamehere, usernamehere, yourpasswordhere and localhost. Replace them, respectively, addressed to the database, a database user name, the password from it and a local server name.

6. Now find a fragment of the following view in the same file:

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’);

Follow the second link, copy the text from the loaded file, and replace this fragment with it. It is the secret key which at each new visit of this page is generated again.

7. Pass to the page which URL will have the following appearance: http://server.domain/wp-admin/install.php, where server.domain - a domain name of your website. If the page with fields for the name of the blog and the e-mail address is loaded, the WordPress installation can be considered successful. For setup of the website further follow indications of a system.

Author: «MirrorInfo» Dream Team


Print