WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing from html site to wordpress. (5 posts)

  1. kunstenaar
    Member
    Posted 5 years ago #

    I'm using a selfhosting version of wordpress .org on godaddy. I installed wordpress on the server and built a site in a folder titled wordpress while leaving my old site, a dreamweaver site, intact.

    Now I would like to go live with the wordpress site. So far I changed the blog address to my site name ( http://stephangiannini.com ) from http://stephangiannini.com/wordpress and deleted my previous index.html file. I hoped that that would do it but it has not. Now I changed it back.

    I looked at several likely codex pages from the forum but I am still not sure which is the best method to change over. I am a newbie and being pointed to the right instructions would be a great help. Thanks.

  2. buddha trance
    Member
    Posted 5 years ago #

    Read this about moving WordPress.

    You can give WP its own directory, while having the blog at the root. Index.php needs to be in the root. Read all instructions first.

  3. kunstenaar
    Member
    Posted 5 years ago #

    I'll preface this with reminding everyone that I have minimal experience.Thanks for your patience.

    A root folder or root directory is just the generic term for the folder where my entire website exsists, correct?

    My wordpress files already exsist in that website folder ( in a file named wordpress). They are already live on the web, but my home or index page needs to be changed so that the wordpress front page is comes up when my basic address is typed in.

    Another words currently my wpblog frontpage comes up when I go:

    http://stephangiannini.com/wordpress

    and I want it to come up when I go to:

    http://stephangiannini.com/

    So I don't think I need to move the bulk of the wordpress core files anywhere, right?

    I'm gleaning that if I just copy the index.php and .htaccess file to
    where my earlier websites' index.html file now exists that is what needs to happen?
    So I would have two index.php and .htaccess files, one set outside my wordpress folder and one within? Or do I eliminate the old ones?

    So I am thinking below are the instructions that I need to follow from "Giving WordPress Its Own Directory" instructions

    7 Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).

    What does the " (blog address)" tell you to do here? And don't my files already exist within the directory?

    8Open your root directory's index.php file in a text editor

    9 Change the following and save the file. Change the line that says:
    require('./wp-blog-header.php');
    to the following, using your directory name for the WordPress core files:
    require('./wordpress/wp-blog-header.php');

    Here what does "using your directory name for the worpress core files" mean?

    Thanks again

  4. buddha trance
    Member
    Posted 5 years ago #

    kunstenaar,

    what you want to do, as per the instructions on giving WordPress its own directory:

    1 - FIRST THING, you go to Admin Settings --> General, and type the correct address.
    The WordPress address is http://stephangiannini.com/wordpress.
    The Blog address is http://stephangiannini.com. UPDATE the options.

    2 - On the server, leave the "wordpress" folder where it is. Then take index.php and .htaccess out of that folder, and upload it at the root (which is where your old index.html file was).
    So, now you have
    .htaccess
    index.php
    wordpress folder (with all the other files inside)

    3 - Open index.php and edit the file, so that the path to the header tells WordPress that it's in the "wordpress folder" (which is the directory for the wordpress core files). That means, edit it just like in point 9 of the instructions, since your folder is indeed called "wordpress".

    This is what "using the directory name" means. If you had called that folder anything else than "wordpress", you would use that name in the address, path, etc.

    4 - Log in, pointing the browser to http://stephangiannini.com/wordpress/wp-admin/ (because wp-admin is part of the core files inside the wordpress folder/directory).

    5 - Once logged in, go to Admin Settings --> Permalinks and update the permalinks, so that the .htaccess file is updated automatically, or tell you what to rewrite there manually, depending on file permissions.

    6 - Point your browser to http://stephangiannini.com, ET VOILA, there is your blog!

  5. kunstenaar
    Member
    Posted 5 years ago #

    Buddha trance,

    Thanks very much! I got it up and running. Still took a few hours but I guess that is the learning process.

Topic Closed

This topic has been closed to new replies.

About this Topic