WordPress.org

Ready to get started?Download WordPress

Forums

move wp from subdirectory to root when wp has a blog in index.html (6 posts)

  1. ericbarn
    Member
    Posted 4 years ago #

    i had tested wp in a subdir (eg. http://www.mysite.com/wp. and i had an index.html page for the site which included posts from wp on it (the index.html) page. now that it works i would like to move wp into root directory and still have posts show up on index.html. can this be done?
    thank you for any and all help.
    Eb

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    well actually, you don't have to move all of wp into root if you don't want to...

    you can leave it in the subdir, and run it from root....
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    as for the index.html displaying posts.....I don't quite understand the question....where is the index.html? In another subdirectory?

  3. ericbarn
    Member
    Posted 4 years ago #

    the index.html is in the root directory and is the home page of the site.
    the posts are (as we use them) highlights of the month posts. we are a church and the highlights are upcoming events. only we can "post" there.
    does that make it clear? if not post and i'll try to explain it better.

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    since WP uses an index.php, and not index.html, I assume the html is some sort of page you've set up apart from WP which pulls in posts from wp? You wouldn't be able to have both WP and the index.html run from root. Having the index.html page, as well as WP's index.php file in root doesn't work out.....

  5. ericbarn
    Member
    Posted 4 years ago #

    That's what i imagined .. thank you though.
    Ericb

  6. ericbarn
    Member
    Posted 4 years ago #

    if i keep the wp in a sub directory the path will be
    www.mysite.com/new_site/wp. so how about if i put wp and all it's files of the root .. something like this:
    www.mysite.com/wp
    how would i accomplish that .. can u help?
    thank you for taking the time to read my posts.
    Eb

Topic Closed

This topic has been closed to new replies.

About this Topic