• Resolved jcairns

    (@jcairns)


    I installed and use wordpress under a /blog/ directory, so all my thousands of posts’ urls are of the form /blog/category/subject1, etc.

    I NOW want to use WordPress to mange my entire website, similar to what Alex King does at alexking.org, yet keeping the url structure I currently have.

    I have no idea where to begin. Do I move my current installation to my website’s root from /blog ? That will screwup my URLs, so I should modify my .htaccess to fix that? Do I even have to move the wordpress files? Can I have wordpress pages point back to the root of the website, so instead of /blog/page1 I have /page1 – but STILL having /blog/page2 if I want that?

    Advice much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I do this for clients all the time. I have several that don’t blog *at all*, but just use WordPress as a CMS.

    You can have an index.php file in your root – you just need to put in some code to point to the blog configuration files. Then you’ll have a static index page (there’s a codex on this) You can even keep the blog on the index page if you want – just a matter of coding and puttin gin the loop. But then you can use WordPress to create static Pages for your site that keep the current theme.

    It’s actually very easy to do.

    Thread Starter jcairns

    (@jcairns)

    Okay, having the static front-page seems straight-forward. I can’t imagine it going smoothly though, where the installation is in /blog.

    I haven’t taken the time to experiment with it yet; I should do that first.

    Thanks.

    I can’t imagine it going smoothly though, where the installation is in /blog.

    Why not? It’s built to do this. Works just fine. In fact, I have it set up that way on my own site – WordPress is in it’s own folder, but the index page is in the root. No problems whatsoever. (In my case, the blog is also showing in the root, but you can have it be a static index page too)

    I don’t know why you expect issues.

    Thread Starter jcairns

    (@jcairns)

    I almost have this working. A summary:

    I had wordpress installed in /blog, with nothing in the root (/) – just a static HTML – nothing wordpress related. So, all my posts have the form /blog/2007/01/01/post1, or /blog/about, etc.

    I now want WordPress to drive the whole site, starting from the root, while maintaining my old URL structure for posts.

    – I moved WP to /wp
    – I copied the index.php to /
    – I edited index.php to find the settings file
    – I changed the option in WP to have / as the blog url
    – I changed the permalink to append /blog at the beginning

    It works except for one thing: /blog no longer works, since the main page is now in the root: /.

    Old URLs to posts work, such as /blog/2007/01/01/post1
    But specifiying JUST /blog no longer works.

    Do I need to create a page called “blog”, or add a custom index.php file to a “blog” directory?

    Thanks.

    Thread Starter jcairns

    (@jcairns)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to make wordpress manage entire website instead of just blog?’ is closed to new replies.