This link has been bookmarked by 12 people . It was first bookmarked on 06 Feb 2008, by Jeppe Mortensen.
-
03 Dec 08
-
Example WordPress Installation
-
HTML code that work together to create a web log.
-
bunch
-
PHP scripts
-
Whatever the merits of other popular web log packages (e.g. MovableType, Drupal) WordPress is the easiest to install, configure and customize.
-
If you are uploading the installation files FROM a Windows workstation TO a Linux server, you'll want to download the Windows version (.zip) of the installation files.
-
Create an empty MySql database on the web server
-
Essentially, you want to create a database and add a user with 'All Privileges'. Our user in this example installation is boyjojo.
-
Create the directory structure on the web server
-
NOTE: admin and cgi-bin have nothing to do with WordPress. wp02 is our newly-created directory into which we will copy the WP files. You can name wp02 whatever you like, as long as it's a subdirectory of public_html. Do not use cgi-bin as an install directory.
-
Using the above directory structure means you will access your blog with the following URL:
http://www.mywebsite.com/wp02/
-
Keeping your WordPress files segregated helps avoid problems. It improves both compatibility and scalability by keeping all your non-WP pages separate from your blog content. And it gives you the option to install several blogs on the same web site, or use a Welcome Page.
-
If you want visitors to arrive at your blog when accessing http://www.mywebsite.com (without having to add /wp02/ on the end), you can easily do this.
Put the following line of code (and nothing else) in your public_html/index.php:
<?php header("Location:http://www.mywebsite.com/wp02/"); ?>
and your visitors will be transparently directed to your blog in /wp02/.
-
If you want to use your public_html/index.php as a Welcome Page, simply include a link to your blog from that page. There are endless possibilities for customization using this directory structure.
Of course, you can install in public_html if you want to; just modify the rest of this tutorial accordingly.
-
Unzip/untar and copy (or FTP) everything to the wp02 directory
-
Make sure the wp02 directory and all directories under it have 755 permissions (chmod 755 wp02). Most web hosts will have 755 permissions on directories by default, but you should check if you want to avoid problems.
-
The scripts within the directories should have 644 permissions (only in rare cases will you need to modify a script's permissions).
-
Edit wp-config.php configuration script
-
You also need to know the name of the database and the username of the database account that WP will use (here we are using wp02 and boyjojo).
-
This will launch the install script. The install script will produce output in your browser window and perform a number of installation tasks.
-
That's it! Now you can log in and publish to the world!
-
-
03 Sep 08
-
<?php header("Location:http://www.mywebsite.com/wp02/"); ?>
and your visitors will be transparently directed to your blog in /wp02/.
-
-
23 Aug 08
-
13 Jul 08
-
31 May 08
-
06 Feb 08
-
10 May 07
-
04 Apr 07
-
22 Mar 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.