WordPress.org

Forums

Moving from static website to wordpress (5 posts)

  1. mwelch
    Member
    Posted 3 years ago #

    Hi All,

    I am looking to move my friends static website hosted at yahoo to wordpress. It was a site created with basic html.

    She only has a few pages so not worried about database info or anything like that.

    My question is what's the best way to go about this? Do I just basically delete the files she currently has on her server and then install the WP software?

    Just want to make sure that the domain name is configured correctly because currently it's used for the static website and I want to switch it completely to the new WP site.

    thanks!!

  2. Saildude
    Member
    Posted 3 years ago #

    Don't delete anything yet.

    I prefer to install WordPress in a sub-directory and then "move" it to the root when I have things running. "Moving" from a sub-directory to the root is a copy and edit, move two files and some minor changes in the Dashboard. But they need to be done correctly and in the proper sequence.

    Move WordPress:
    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site
    or
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    You can cut and paste from the html pages into WordPress, just be careful of the formatting, I paste in as plain text (an option in the editor) that strips out formatting and then go back and format as needed.

    A static site would mean probably all the info on Pages. Also set WordPress to show a static page at the start. (Dashboard, settings, Reading, Static Page)

    Also find a Theme your friend likes, some are designed for a static page based site. (http://wordpress.org/extend/themes/)

    When the site is up and running then go back and clean up the old code as required.

    PS - Rename the index.html file when you move to the root so index.php will execute.

  3. mwelch
    Member
    Posted 3 years ago #

    Hi,

    Thanks for the reply. Just to clarify - don't want to mess this up :-)

    I'm going to create a folder such as:

    http://www.mysite.com/wordpress

    Install wp files in this folder

    Once all is intalled and I see my site under http://www.mysite.com/wordpress

    then I can move these folders and files to the root???

    One other side question if you don't mind: What are the benefits of doing it this way as oppose to just deleting the files of the old website and doing a fresh install of WP directly on the root directory?

    Thanks so much!

  4. Saildude
    Member
    Posted 3 years ago #

    I would use the original install and not reinstall.

    I'm going to create a folder such as:
    http://www.mysite.com/wordpress
    Install wp files in this folder

    Yes in /wordpress/

    "Moving" only requires making a copy of index.php and editing I think one line and moving the new copy to the root - there is also an .httacess file that needs to be in the root and a minor change in the Dashboard. Please follow the guidelines and double check my advice for the move.

    NO other files need to be moved or touched.

    Advantages:

    The root stays cleaner
    Easier to keep the WordPress files straight
    No need to do any reinstall, you just use the original install
    You can get the new site up and running without touching the original site files.
    Less chance of deleting a WordPress file when cleaning the root
    Uninstall an do a second install or just a second install is more work

  5. mwelch
    Member
    Posted 3 years ago #

    thanks sooo much for your help with this...btw fun website you have there :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.