WordPress.org

Ready to get started?Download WordPress

Forums

Will index.php go directly to the site (3 posts)

  1. GarethPowell
    Member
    Posted 7 years ago #

    I feel a complete clown asking this question so I am ready for flak. Normally when I build a web site and load it up any browser, I think, goes through to find index.html or, failing that, index.htm and then calls up the blog.
    I designed my blog so that it booted from index.htm.
    Now I have discovered WordPress (which is so great words fail me) and it has index.php. At the moment I am working with a piece of code which transfers the opening page from my original to the WordPress version. I am not trying to get my site in here but as it is non-commercial - no advertising - it is OK.
    The blog is bloggeroff.com.
    What I most seriously want to do is not use the piece of transfer code but go straight in. If index.php is the way to go (delete index.htm) then I am doing something wrong and I will work at it.
    But nowhere, and I have seriously tried for some considerable time, can I find anything on this subject.
    Any pointers will be most gratefully received.

    Gareth Powell in Australia

  2. yosemite
    Member
    Posted 7 years ago #

    Yes. index.php will basically do all the WP includes and hand off to the current themes index.php...

    Hope that makes sense...

  3. moshu
    Member
    Posted 7 years ago #

    You are over-complicating it - as all the newbies :)

    The root of your site is here:
    http://www.bloggeroff.com/
    Do you want to have anything there? or the blog to show up?

    Your blog at the moment is installed at
    http://www.bloggeroff.com/wp2/
    (Notice it works perfectly without index.php being added - as it should on any normal server!)

    Now the only question is: where do you want your blog to be displayed?
    a) at the root?
    b) in a subfolder?

    If a) you have again 2 choices:
    1) read: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
    2) move the whole stuff up to the root
    http://codex.wordpress.org/Moving_WordPress

    If b) - remove the redirect in place and you are good to go.

Topic Closed

This topic has been closed to new replies.

About this Topic