Support » Fixing WordPress » Not index.php – blog.php plz

  • Hi All!
    I have tried installing WP several times since its the best application for blogging that I have come across. But I run into a problem.
    Th WP *assumes* that its going to be the index.php – but in my case its only a menu item along with e.g. “photos” and “about” – in short how do I configure Wp to run as blog.php on my site?
    Has anyone in here done it? and is it time consuming?
    Best regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • Would it be too much trouble to set up WP in a separate directory, like: ? Looking at your site, you’ll probably still be able to pull headers and footers in by editing WP’s index.php.

    Well it probably would work – but I would relly prefer to do it the other way around.
    I see this as a common problem with a lot of open source projects – they often usually assume control over the index.
    I was just wondering if I could do a search and replace on index->blog and if that would the still work.
    There must be someone who did it? or…?

    Have you tried going to
    and changing index.php to blog.php ?

    That dosent do it.
    You can change two URI’s in the admin none of them cope with the problem…
    Number one is the base dir (which you cant change back!) number two would ad the last item after the trainling slash like a map. e.g. 🙂
    Well I might have to go with Muffinboy’s suggestion like on this page:

    What about .htaccess?
    Type this command into your .htaccess file
    DirectoryIndex blog.php

    Moderator James Huff


    Set up your blog just like normal in a sub directory ex:, then create a php file with only <?php header('Location:'); ?> in the file and no whitespace before it. Then, save it as blog.php and upload it to the main directory. Therefore, will redirect to . No extra WP configuration required.

    Moderator James Huff


    Sorry, Kristian, I think I read your post too fast so my above trick won’t help your particular problem. …it is a cool trick though…

    Thanks a lot Mark! That is my oppinion too. I wonder why that is.
    WP would be even more powerfull as a script if it could serve as a blog-addon for existing sites instead of trying to be the whole site.
    Well WP is still the best one so Ill have to start working on this problem.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Not index.php – blog.php plz’ is closed to new replies.