WordPress 24-Hour Trainer. Plumley George
Чтение книги онлайн.
Читать онлайн книгу WordPress 24-Hour Trainer - Plumley George страница 8
Of course there's more to choosing a host than meeting these requirements. In particular, you want to look for:
● Reliability– How often are they down? How good are their security measures? What is their backup policy?
● Support– Do you have 24-hour access? How quickly do they respond? Do they have a useful knowledge base?
● Speed– How quickly will your site load?
Don't rely on advertising or most of the so-called hosting review sites you'll find. Look for individual bloggers who have performed actual tests or provided reviews with pros and cons based on real-world experience. You can also search through the forums of hosting companies or webmaster forums to see what people complain about. And put the question to social media for direct feedback.
As Figure 3.1 shows, many hosting companies these days promote that they do WordPress hosting. Often this simply means that they offer automated installing of WordPress. That's a valuable feature, but be aware that it isn't anything special or unique.
In other cases, WordPress hosting means it offers services such as:
● Managed hosting– The host provides regular backups and performs all WordPress updating (even plugins). This can extend to offering a separate version of WordPress where you can test your site or allow only certain plugins to be used.
● WordPress support– This could include support specialists who know WordPress or detailed WordPress documentation using videos or screen shot tutorials.
● Optimized servers– This can range from ensuring that server software is configured to help WordPress and its database perform well all the way to using Virtual Private Servers (VPS) and fewer sites on a machine than the shared hosting packages most people use.
● Caching– This is like taking a snapshot of each of your pages and serving those snapshots instead of having to go back and forth to the database, and that helps speed up site loading for visitors. There are plugins for this, but they can be tricky to set up. Here the host takes care of all that for you.
Naturally, with these special hosting features typically comes a higher monthly cost. Although regular shared hosting accounts (without multiyear plans or introductory pricing) are in the $6 to $9 range, specialized WordPress hosting starts at approximately $16 per month and goes up from there.
This book shows you how to do such tasks as backups and updates, and ways to keep your WordPress site loading quickly. However, you may prefer to pay someone else to do them. Managed hosting is a cost-effective way of off-loading these important ongoing tasks.
After you decide on a hosting company and have your account, it's time to install and activate WordPress. As previously mentioned, most hosts these days have programs that enable you to do a one-click installation of WordPress, but now look at an old-fashioned manual install.
Manually Installing WordPress
If you want complete control over how WordPress is installed on your hosting account and you're comfortable working with file transfer programs (FTP) and hosting control panels (such as cPanel or Parallels/Plesk), this method is for you. Or if you're hiring someone, this can help you understand why he should not be charging for more than 15 minutes worth of work.
The steps are outlined here, but on the DVD you can watch the process in detail using cPanel, the most popular hosting control panel available. There's also a working file on the DVD with instructions for the downloading and uploading of WordPress files.
Because there are two main elements to WordPress – the files and the database – the outline follows that structure.
Uploading the WordPress Files
Self-hosting WordPress means you need to put the files onto your server using the following steps:
1. Download and save the latest version from WordPress.org.
2. Unzip WordPress.
3. Using an FTP program (such as Filezilla), upload the unzipped WordPress files (the ones inside the folder wordpress and not the folder itself) to the location you want on your server.
Creating the Database
WordPress requires a database in order to function, so you need to set one up through your hosting control panel:
1. Locate the MySQL database section of your hosting Control Panel.
2. Click the button for creating a new database.
3. Enter a name for the database. If you have several databases, be sure to name it so that you know it's WordPress for this site.
4. Click the button for creating a new user. (Not all control panels have this step.)
5. Enter a username.
6. Enter a password for the user, and make sure it is strong.
7. Be sure to have the database name, username, and password handy for use later in the process.
8. If you are asked to assign permissions or privileges for this user, make sure you select ALL.
9. In some cases you may be asked to assign the new user to a database; make sure it's the right database.
10. Check where your database is located and make a note of the server name for use later. If no server name is specified, it's likely the default localhost.
Connecting the Files to the Database
This is what WordPress actually means by “our famous 5-minute install.” There are two ways to do this install: manually creating the configuration file or having WordPress lead you through a semi-automated process.
You can see the manual configuration process in one of the videos accompanying this lesson; however, here is the semi-automated process, which you begin by entering your site's domain name in your browser (or if you put the WordPress files in a subdirectory, enter the full path).
1. The first screen asks you to choose an installation language; then click Continue.
2. Next, you are asked to gather some information about your database (what you were told to make note of in the previous section). When you're ready, click Let's Go!
3. Here you enter all that database information. The final field asks if you want to change the default WordPress database prefix. The prefix will be placed in front of all the tables in the database to help distinguish them from any other tables. You can put whatever you want here, but I recommend keeping the default wp- at the beginning so that you can quickly see that it's a WordPress table. When you finish, click Submit.
4. Now confirm that