Written: June 24, 2011
Since most of my web clients are now using WordPress it was only logical to migrate my own site from a custom PHP implementation to a custom WordPress site. Here are the steps that I followed:
1) Decided on a new look for my site by making a Home page mock-up in Photoshop
2) Created a static HTML index.html page for my new Home page
3) Created a custom WordPress theme by dividing my index.html page into PHP, CSS and Javascript files
4) Add my favorite plugins
5) Imported my blog from www.blogger.com
6) Tested and went live
If you’re curious about the details drop me an email or leave a comment. This migration took me about 10 hours to complete and now I can update my new site using only a web browser instead of using Dreamweaver.
Of course I still use Dreamweaver, Photoshop and WordPress every day now to deliver customized features, pages, WordPress themes and WordPress plugins.
Tags: Custom Theme, Dreamweaver, PHP, WordPress
I would like to know the detailed process of migrating my php website to wordpress. My wordpress directly lies in website’s directory.
Good morning. If you are handy with HTML, CSS and Javascript you can re-use the look of your current PHP site and create a Custom Template in WordPress. Otherwise you have a few choices:
1) Use an existing WordPress Theme.
2) Hire someone to create a custom WordPress Theme
3) Learn how to code your own custom theme in WordPress
How much content do you have to migrate from your PHP site to WordPress? Is it a handful of pages, hundreds of pages or thousands of pages?
Here’s some WordPress documentation on creating a new theme: http://codex.wordpress.org/Theme_Development
If time is of the essence, then hire a WordPress developer like me to get the job done quickly and correctly.
Hello,
How did you migrate the content off the database and import it into WordPress? My client has thousands of pages I need a little help.
Thank you
You can write a PHP script to read your old content, then use the following WordPress function to add new pages:
wp_insert_post( array(‘post_title’=>’My Page title’, ‘post_content’=>’My new page content’, ‘post_status’=>’publish’, ‘post_author’=>1) );
http://codex.wordpress.org/Function_Reference/wp_insert_post
Hello,
Could you please let me know how you transferred the custom PHP website to wordpress with same domain name? I am having issues with maintaining the same domain name and also a part where the database needs to be taken care of.
Please let me know,
Thank you
Shilpa,
You can install WordPress on your existing domain in a folder like /new, then write a PHP script to read your old content and create new WordPress pages or posts.
You can always hire me at $75/hour to perform this service, or give it a try yourself.
Good luck.