WordPress.org

Ready to get started?Download WordPress

Forums

changing root page in wordpress multiblog hack (3 posts)

  1. positron
    Member
    Posted 9 years ago #

    I've been setting up the multiblog hack of WP for the past couple days as part of a project I'm working on. I like what can be done with this hack, but I've run across the problem of not being able to alter the default page at the WP root directory. I'm pretty new to all of this stuff, so I was wondering if anybody had some advice on how to change or deny access to that default page. I tried using an index.html, but that interfered with the functioning of index.php. Any help is greatly appreciated. Thanks!

  2. positron
    Member
    Posted 9 years ago #

    Thought I'd clarify what I'm trying to do. Right now, when somebody visits http://www.mysite.com/wp/, index.php loads up the default blog page. That default blog is unalterable because of the way the multiblog hack works. What I'm looking for is a way to stop index.php from loading that default blog whenever somebody visits the wp directory, without interfering with the functioning of the index.php. Hope that makes a bit more sense.

  3. positron
    Member
    Posted 9 years ago #

    For anyone else who happens to run in to this limitation while running an install of the multiblog hack, I have found a crude work-around by simply replaceing the contents of the default folder in your themes directory with whichever theme you would like to use. A little bit of php scripting is needed to avoid displaying any content you don't wish to be shown on the root blog page, but a few if statements do the trick nicely. If someone else has found a more elegant solution I'd be very interested in hearing it.

Topic Closed

This topic has been closed to new replies.

About this Topic