Converting a HTML Site To WordPress

I had a few old dogs kicking around that I thought was high time to spiffy up. Page after page of hand coded html. Messy html at that.

What easier way to spruce things up than converting them to WordPress! Free, gorgeous templates are plentiful and upgrading a site to include RSS is a bonus. Word on the street is that the new Internet Explorer 7 will be RSS friendly.

Is there a way around copying and pasting each html page into a WordPress post? Not that I know of. Please note though: I have sad, sad technical skills so I could very well be missing something. However I found using the Visual Rich Editor in WordPress (option located at the bottom of the Users page in your admin panel) did help speed things up since I didn’t have to copy & paste all the links within the page content I was copying.

Other than transferring html pages to WP posts, what steps did I do?

.htaccess File

After pasting the permalinks setup into the .htaccess file, remember to do the following:

Canonical Fix


Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.superaff\.com
rewriterule (.*)$1 [R=permanent,L]

Or if you prefer the non-www version:

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^superaff\.com$
RewriteRule ^(.*)$$1 [R=permanent,L]

Redirect each html file name to the new url


Redirect 301 /example.html

Exclude any dirty bots you don’t want sniffing around, example:

<Limit GET POST>
order allow,deny
allow from all
deny from

=end .htaccess tweaks=

Robots.txt File

404 Error Pages

Database Backup

Implement a database backup system that works best for your needs:

Spam Control

If you’re going to have a comments feature, make sure to setup spam control:


Title Tags

Copyright Notice

Site Authority Pages

If you don’t already have them, create an About page, Contact page, Privacy Policy. You can slim down the page template easily if you’d like.


Complete your new design with an updated favicon.

WordPress As CMS

If you want to use WordPress as a Content Management System for your old html sites:

BaoCMS provides basic CMS (Content Management System) features for WordPress. You can define and manage flexible set of blocks (panels) in your templates. Each block/panel can hold unlimited number of modules (something like bricks).

Some work to do, that’s for sure. If you have large amounts of html page, you may be better off outsourcing the html page/wp post transfer. Though I did find it worthwhile doing this myself manually as I was able to tweak content while I worked.

My old dogs sure cleaned up nice with the WP conversion. Amazing how fresh digs can sure kick the site up a notch or two!


I've been trying to find my way online for more years than I care to admit.