WordPress.org

Support

Support » How-To and Troubleshooting » move wp from subdirectory to root when wp has a blog in index.html

move wp from subdirectory to root when wp has a blog in index.html

  • 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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?

    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.

    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…..

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

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘move wp from subdirectory to root when wp has a blog in index.html’ is closed to new replies.
Skip to toolbar