How to replace old HTML site with new WP site?

4 replies
  • WEB DESIGN
  • |
I want to replace my current html site with wordpress. The html site is the primary domain in the cpanel and the wordpress site is in the same cpanel.

They are both of the same domain in that the existing html site is mysite.com (/index.html and primary domain for the cpanel) and the new wordpress site in it's own folder is named "ic" for mysite.com/ic.

I understand that I will need to set up a bunch of redirects so the pages from the old html site redirect to the new WP site, but what exactly do I need to do to make the new WP site replace the old HTML site in that cpanel?

Should I create a new folder and put EVERYTHING that's currently in the root folder for the existing html site in the new folder? And if so, how do I make the current WP install for mysite.com/ic become mysite.com when there are two other WP installs in the same cpanel? One is called "blog" for a Wordpress mysite.com/blog and the other is named "club" for another Wordpress site called mysite.com/club. Again, all three folders "ic" and "blog" and "club" are all part of the existing html mysite.com.

Lastly, since all the pages that are currently in the "ic" folder were built using Optimizepress, what would I need to do change all the pages in Optimizepress to just mysite.com instead of the current mysite.com/ic? Or should I just leave the WP site as mysite.com/ic?

Thanks very much.
#html #replace #site #wordpress
  • Profile picture of the author sodevious
    Instructions on how to make the /ic folder point to your domain root: https://codex.wordpress.org/Giving_W..._Own_Directory

    You can keep the html pages and add meta tags to the headers to have them redirect to the appropriate wordpress pages: HTML redirect - HTML meta refresh redirect
    {{ DiscussionBoard.errors[10672700].message }}
    • Profile picture of the author magentawave
      Originally Posted by sodevious View Post

      Instructions on how to make the /ic folder point to your domain root: https://codex.wordpress.org/Giving_W..._Own_Directory

      You can keep the html pages and add meta tags to the headers to have them redirect to the appropriate wordpress pages: HTML redirect - HTML meta refresh redirect
      Thanks. I put all of the contents of the old HTML site in a folder called "Old HTML Site". Then I moved all of the contents of the wordpress site into the root directory. There were a few more steps involved but thanks to the simple instructions on this page ProPhoto Blogs Support Tutorial - Move WordPress to Root it was really easy. Then I created a file in the root directory and named it "index.html" and then I created a 301 redirect from index.html to the new site. Last thing I did was to install this "404 to 301" plugin to redirect all of the old HTML pages to the new site.

      Is there anything else you think I should do?
      {{ DiscussionBoard.errors[10672759].message }}
      • Profile picture of the author sodevious
        I would put the HTML files back where they were. If you move them, the links will no longer be valid and users will arrive at a 404.
        {{ DiscussionBoard.errors[10672769].message }}
        • Profile picture of the author sodevious
          Ah I see you have a plugin for that. Kinda wonky to make it go through the extra step, but if it works then I guess you're fine.

          Otherwise, make sure your analytics code is in place in the new wordpress site... there shouldn't be much else to worry about.
          {{ DiscussionBoard.errors[10672771].message }}

Trending Topics