Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 313 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
313
Dung lượng
11,9 MB
Nội dung
[...]... up of tables, each of which contains all the data for various parts of your blog: the posts, the comments, and so on Each of these tables must have a unique name within the database Other databases can have a table that shares a name with another database’s table, but each table within a database must have a unique name 20 Building aWordPress Blog PeopleWanttoRead 5 After you’ve entered all your... Web host’s new-database form with confidence: • Database Name Every database needs a name, and you’ll need to know what your database is called when you install WordPress Be sure to give your database a unique name; don’t name it wordpress or something equally easy to guess, which would only help people who wantto break into your database for nefarious reasons (The Internet is a great place, but you’ll... little harder for folks to guess your database credentials The database user who installs WordPress needs to have full rights for the WordPress database, meaning that he or she can create—and delete—all manner of things A good password is your best defense against malicious tomfoolery 14 Building aWordPress Blog PeopleWanttoRead Here’s a review of each text box shown in Figure 2.3 so that you can fill...2 Building aWordPress Blog PeopleWanttoRead The Downside of WordPress All is not sunshine and fruit punch in the world of WordPress Using a blogging platform that is engineered like this one has a couple of drawbacks: • Appeal to bad guys Popularity and an open code base are generally a good combination, but a few people out there are always looking to ruin everyone’s fun Because WordPress. .. Englishspeaking bloggers But what if you wanttoblog in another language? That’s where define (‘WPLANG’, ); comes in Localizing WordPressto another language requires a few steps: 1 Define WPLANG as the language code you want You can find a full list of the codes needed to define the WPLANG variable as your language of choice at http://codex .wordpress. org /WordPress_ in_Your_Language Chapter 2 : Installing WordPress. .. Prefix, and by default, it’s set to wp_, but as you can see in Figure 2.7, I’ve changed this value Even if you don’t plan on running more than one WordPress install using the same database, I recommend that you enter a custom value here to make it more difficult for hackers to guess what your database tables are named Figure 2.7 Enter your database information to install WordPress note Databases are made... into the ins and outs of setting up a MySQL database, here are some pointers to keep in mind: • • Name your database something that you’ll remember You need to create a database user that will install all the WordPress tables (a process that the install script takes care of), but don’t use the same user name and password that you’re going toblog with Using a different name and password makes it a. .. host your blog on WordPress. com: • WordPress URL The URL of your blog will be something like www.mygreatblog .wordpress. com If you’re going to host ablog for professional reasons, you may not wantto advertise the fact that you’re using a free service • Extra cost for advanced features WordPress. com offers some advanced features such as domain mapping, which allows you to point any domain toablog hosted... such a way that others can change your code and share it as well) 4 Building aWordPress Blog PeopleWanttoRead WordPress. com vs WordPress. org Now that I’ve convinced you that WordPress is the way to go, you have another choice to make: self-hosting or hosted version? Hosting your blog on WordPress. com WordPress. com (Figure 1.1) hosts WordPress blogs for free Hosting your blog on WordPress. com frees... Chapter 2 : Installing WordPress 21 Figure 2.9 The WordPress Welcome screen 10 Speaking of email, in the Your E-Mail text box, enter an email address that you have access to The install process will send this address an email containing some information about your newly installed blog 22 Building aWordPress Blog PeopleWanttoRead 11 Finally, clear or check the box titled Allow My Site to Appear . free and in such a way that others can change your code and share it as well). Building a WordPress Blog People Want to Read4 WordPress. com vs. WordPress. org Now that I’ve convinced you that WordPress. class="bi x0 y0 w0 h0" alt="" Scott McNulty Building a WORDPRESS BLOG People Want to Read Second Edition Building a WordPress Blog People Want to Read, Second Edition Scott McNulty Peachpit. date as possible. But this approach is a little more resource-intensive than a static approach and can translate to your blog s being unavailable under heavy load. Movable Type, the other blogging