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
Related Posts :
Have fun with WP :)














Readers' Comments
thanks for u r blog. can you help me to covert a wordpress theme into normal html template (web site templte) ?
zaran on June 24th, 2010 at 17:10
if you have a theme that has the psd and skins and aren’t good at coding yourself then just go to a site like freelancer for help
admin on June 26th, 2010 at 23:37
And that’s it?
That’s all you have to do…
no buying plugins, templates, salesletter creators…
blimey I wish I’d known that several hundred dollars ago.
Jamie on June 29th, 2010 at 18:17
yep that’s it there is also a new free html plugin that makes it even easier
Leanne on July 6th, 2010 at 8:04
I have tried the above and it says the page is published but when I try to view it I just get a 404 error page
Sheryl on August 24th, 2010 at 15:30
start again from the beginning Sheryl sometimes it’s easy to miss a step
admin on September 1st, 2010 at 3:54
Wow Leanne, you made that look extraordinarily easy.
I’ve never used an html editor before, apart from in WP.
Does an html editor add all of the other necessary code <!DOCTYPE html… etc
Thanks
Mark on October 5th, 2010 at 21:38
The html editor automatically inserts the doc type stuff as part of the creation of the html doc – you don’t normally see this stuff because we tend to look at the visual editor rather than the source code or view the code in notepad (my fave html editor)
admin on October 6th, 2010 at 0:40