• stevet_au

    (@stevet_au)


    Hi all,

    While creating a new WordPress site, I’ve moved my setup from a temporary personal server to a new ISP hosted server. This has been largely smooth, despite some file permission problems, but now I’ve got a really odd one that I can’t work out.

    My temp live server WordPress installation is here: http://penthouse.com.au.tmp.anchor.net.au/ (warning, NSFW, it’s sort of an adult site)

    But viewing the above link does not show the correct homepage. It just seems to produce a list of most recent posts, like a category listing.

    However, if you view http://penthouse.com.au.tmp.anchor.net.au/index.php you do get the correct homepage with the correct index file I created and everything else. You get the right file if you specify the file as the address shows.

    Not sure what is happening here; everything in my settings seems ok, and I assumed that index.php would be the default file to display at the server root, but clearly that’s not happening.

    Hope someone can help me out with this.

    Thanks,

    SteveT

Viewing 3 replies - 1 through 3 (of 3 total)
  • Samuel B

    (@samboll)

    if you are on a linux server try adding this to your .htaccess
    DirectoryIndex index.php index.html

    if on a windows server make sure index.php is set for folders

    Thread Starter stevet_au

    (@stevet_au)

    Unfortunately that doesn’t seem to make any difference.

    I think the problem is within WordPress rather than the server though. When I go to the root URL — http://penthouse.com.au.tmp.anchor.net.au it gives me a bad template with a simple last 10 posts listing, but when I go to http://penthouse.com.au.tmp.anchor.net.au/index.php it gives me the correct index template I have created in my theme.

    For a start, I can’t work out what file or template is being displayed at the root address anyway. It’s no theme template I can find (even though the header and footer are fine, it’s just the main index body that isn’t right), and there is no index.htm or index.html file in the web root, just the usual index.php for WordPress.

    Any help would be appreciated, as I can’t work out the problem and repeated searches for a solution haven’t revealed anything. I can’t believe I would have a totally unique problem 🙂

    Thanks,

    SteveT.

    Thread Starter stevet_au

    (@stevet_au)

    Just to update this, if anyone wants to know, this error was being caused by the “Redirection” plugin. No idea why, since I had installed the plugin but made no settings or alterations on it.

    I’ll be taking it up with that plugin now, or just dropping it or replacing it with something else similar.

    Thanks,

    SteveT.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with index.php homepage default file’ is closed to new replies.