Convert Your Old Sales Pages To WordPress

I often see in forums that people want to convert sites that they have made in html to WordPress. Usually, it’s sales pages. I’ve posted before on how to convert your static sites to WordPress so this time I’ll show you how to convert your old sales pages from html to lovely WP.

First of all, no need to panic because this is super simple to do.

I assume you have a sales page that is named salespage.html (or something similar as long as the extension is html). Open up that sales page with a nice editor. I just use notepad which is installed on all windows pcs.

At the very top of the opened file add the code highlighted at the  top of the screenshot. It is very important that this is at the top of the file with no spaces whatsoever.

You don’t have to name it “Sales” like I have done.   You can call it whatever you want – that just makes it easier for me to find.

The next step is to save your sales page file as a php document.   To do this just click File/Save As and type the new name which, in my example, is salespage.php instead of salespage.html

Now, it’s time to fire up Filezilla or whatever FTP program you use.

Browse to your current theme folder in wp-content/themes.     In my example I am using a theme called “Snowtime”.   Open up the theme folders and upload your new salespage.php file to that folder.

Once that’s done you can go back to your dashboard.    We will  now need to add a new page in WP for our new sales page.   To do this we go to Pages/Add New.  On the right hand menu you will see Templates.   From the template menu choose the name of  the file you uploaded.

If you are uploading a normal sales page be sure and turn comments and trackbacks off.

Click Publish and that’s it you are done.

If you want your sales page to be the home page on your blog just go to Settings/Readings and choose the page from the drop down menu.

I told you it was painless :)
Enjoy

Leanne King

Have fun with WP :)