With anyone who has been involved with WordPress or seen people working with WordPress in action understands well that it is a very powerful content management system. It may works as complex for some while it may be as simple too, totally depend on the way how you dealt with it. With that in mind, how much desperate you are onto to bring WordPress with your existing website can be decided. There may be only some features of WordPress you are interested in integrating to your site or you like the WordPress as a whole. The following article will help you understand that in either case how you can use WordPress with your existing website.

I-Love-WordPress

Step 1: Understanding The Basics

It is important to assume first that you have an existing site at http://example.com. Now, in order to start, better make a sub-directory (a folder) at your site, and say lets it call it as “blog” (even you can use some other name, choice is totally yours here but important is that you must create this sub-category in order to start).

So you now have an empty sub-directory at http://example.com/blog/. Download WordPress and upload all of its files into this new folder, and install WordPress. Also, if you are using a hosting provider say HostGator, they do even offers QuickInstall solution with which you can install WordPress in a single click.

Step 2: Pull The Header And Include The Loop

In order to pull the regular PHP pages into ones which utilize WordPress, you need to add either of the following code snippets at the start of each page.

— OR —

Once you grab the header, it is uttermost important to include The Loop – a PHP code which is required to display posts by WordPress – in your pages to get the advantage of the Template Tags or plugins available.

Photo Credit: Flickr/Adriano Gasparri