How to import existing HTML site into WP?
-
I’ve searched these and other forums, and cannot find an answer to this — although I have seen a few similar questions.
I want to migrate a static HTML site to WordPress. I have about 50 HTML pages I would like to transform into WP Pages without a lot of hand page creation and copy/paste drudgery.
To make things a little more interesting, this site already has WP installed under the /blog directory. My intent is to keep it there and run the site from that install (or at least that directory), but I want to display the majority of the site from root (www.mydomain.com), with the Blog posts displaying from the https://www.mydomain.com/blog directory/page/URL.
I have found and read this page:
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
but frankly I don’t get how to apply that to my situation.Also, I would like the existing page URLs to remain active if possible. IOW, any existing (even inbound) link to https://www.mydomain.com/about.html should display my WP “about” page, which in my case is (will be) permalinked as “%pagename%”, with no “.html” Is that even possible?!
Finally, which makes more sense? To upgrade and tweak the WP install under the /blog directory to accomplish all this? (I have just a few blog posts to worry about.) Or to start with a fresh install under a new directory, e.g., /wp?
Bear in mind I want to keep the HTML site active and untouched until I’m ready to “cut over” to WP. (I.e., delete index.html and being using index.php as home page.)
Any help would be much appreciated!
Cass
- The topic ‘How to import existing HTML site into WP?’ is closed to new replies.