adsense

How to Add a Wordpress Blog to a Static Site





1. Check to make sure your domain hosting company offers MySQL database service, preferably with MySQL version 5. A MySQL database is necessary to operate a WordPress blog. Create a database with a logical name like 'myblog.' You don't have to do anything else, as MySQL and WordPress together will handle all the technical management. Just note the Account Log In information carefully, including Database Account, User Name, Database Server Location and Password. Wait for confirmation from your hosting company that the database is active before continuing. The content you add to your blog, in the form of posts and articles, will be stored in this database automatically. WordPress then 'pulls' the content from the database and displays it on the blog pages.
2. Open your server folders using an FTP program. Create a new blog folder as a sub-domain of your website labeled '/blog.' By doing so you are giving the new WordPress page the URL identity of http://yourdomain.com/blog/index.html.

3. Download the latest version of the WordPress core program, available from WordPress.org.The file will be compressed when it arrives in your download folder. Extract the file contents to your hard drive to a folder clearly labeled 'WordPress.' Keep this core file in case you need to reinstall WordPress.
4. Open the /blog folder on your server using an FTP program. Copy the entire contents of the unzipped WordPress file on your hard drive into this server folder. Make sure you are loading to the 'mydomain.com/blog' sub-folder location, not to the root directory of your static website.
5. Click on the file 'config-sample.php' on your hard drive inside the WordPress core files, and open the file for editing using WordPad or Notepad. Change the 'sample' configurations to the configurations provided by your MySQL database when you first created it, the Database Name, User Name, Server assignment, and Password. Save the file with the name 'config.php,' and then load it over to your WordPress blog site.
6. Open your Browser and navigate to this address: http://mydomain.com/blog/wp-install.php. The WordPress setup page will appear. Fill in the information required, being sure to specify that the 'home' page for the blog should be this location (http:/mydomain.com/blog) and not your website root directory. Register an active email address that you can access immediately. Save the information, and exit the installation module.
7. Test the installation by navigating to the blog page by entering this URL: 'http:mydomain.com/blog.' You should see the WordPress blog page on your site, in its 'infant' form, usually the default WordPress theme template.
8. Log in to your WordPress dashboard by clicking on the 'Log In' link on the page. Enter your default account name ('admin') and the password provided to you by WordPress in an email soon after you complete Step 7. Once inside the dashboard, you can change settings, change to another theme and begin to add content to your WordPress site.
9. Insert links to your new blog site on other pages of your static website. Link the blog to the static site with the URL http://mydomain.com/blog. Visitors to your static site will be able to visit the blog through this link. Conversely, create a link inside the blog site that will return visitors to your static site's homepage.

Comments

0 Responses to "How to Add a Wordpress Blog to a Static Site"

Post a Comment

Popular Posts

About