|
Written by Web Master
|
|
Wednesday, 28 May 2008 |
<><><>For starter download the newest version from WordPress. Uncompress it in a directory somewhere on your system, like /wordpress. In the wordpress directory you will find a file called wp-config-sample.php open this file in an editor. We must edit a few lines username/password and database information. First thing it ask for is the database name : define('DB_NAME', 'putyourdbnamehere'); This I will change to blog for a database name: define('DB_NAME', 'blog'); Next is your username to access your databases and password define('DB_USER', 'usernamehere'); define('DB_USER', 'mydbaccess'); If you are unsure about you username and password to acccess your databases usually quick look at the domains main website's configuration file will reveal an encrypted password, you should cut and paste into the new wordpress config file password. Now that you have a name for the database and the use and password, we need to save the file as wp-config.php. It's time to up load it to your server.For this you will need to use ftp. Once you open a ftp connection with your system go into you root http servers access directory usually /public_html or /www. With your ftp client make a directory call it blog. Now change into the blog dir. And upload all the files and directories in wordpress on your system to the blog directory you created. One more thing before we will be able to run the Word Press install dialogs. You will need to go back to cpanel on your hosting service in cpanel find mysql databases and create a new database called blog , the name from our configuration file. If you already have databases from your main website you will have a list of users there also, at this point we will need to asign the user from the configuration file to the new blog database - all privilages. If you are creating a database for the first time, you will need to create a user also, then assign the user to the blog database. Remember to up date the configuration file if this information is going to be different from our orginal entry's. After uploading all the contents of our wordpress directory to our providers /blog dir we created it time to actually run wordpress. In your browser's URL put http://www.yourdomain.com/blog/index.php this will bring up wordpress, if the configuration file is missing you may see this: There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file. If It cannot read your databases you may see some thing along these lines: Error establishing a database connection Once these two are covered as we did in this article, you will come to a screen so You can give your new blog a name and finish the install. <>
|
|
Last Updated ( Wednesday, 28 May 2008 )
|