WordPress.org

Support

Support » Installation » Using WP as a CMS: Changing the directory structure to put everything in root

Using WP as a CMS: Changing the directory structure to put everything in root

Viewing 7 replies - 1 through 7 (of 7 total)
  • what you need to do is put the wordpress files in the root directory – and then the “blog” would be written as posts with categories, the “pages” would be written as pages, and then you can create a static home page by taking “index.php” and saving a copy up as “home.php” (don’t remove index.php) but replacing everything in the content div with your static content.

    That is how I have it now, but most of the pages are in the directory structure under /blog.

    So the pages are:
    http://www.blat.com/blog/Page-1

    What I want is
    http://www.blat.com/Page-1

    added: I’m using the Filosofo Home-Page Control plugin found here:
    http://www.ilfilosofo.com/blog/home-page-control

    Another thing, I’ve seen this page:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    however, I am not clear if one can still admin the “Pages” using the wordpress admin panel. And, is it possible for one to create new pages using the admin panel but not have them under the /blog/ directory?

    “That is how I have it now, but most of the pages are in the directory structure under /blog.”

    If the PAGES were created with WordPress, and are under “/blog” then you have WordPress installed in a “blog” subfolder on your server.

    You need to have it installed in the root directory on your server. And then you can create a category for “blog” so that POSTS go there, but pages will be www.yoursite.com/pagename

    I don’t have it installed in a subfolder. I am wondering if perhaps the plugin is messing things up.

    Yes. As far as I know you have that “folder” due to the plugin.

    ok. Somehow I fixed it. I don’t know how, but I fixed it. It was the plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using WP as a CMS: Changing the directory structure to put everything in root’ is closed to new replies.