Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I had a problem and after some research I discovered the exactly point where is failing.

blog.domain.com

Is not working, it says that the page cannot be found (404)

blog.domain.com/index.php

Working as expected

If you click on Home, it will says that the page cannot be found, if you try to preview a new post, it says that the page cannot be found... I can see every post btw.

I run my blog on a Windows hosting using IIS.

my permalink is this:

/index.php/%postname%

IIRC I had to use index.php because my IIS doesn't have URL rewriting.

I have no problem with the index.php thing on the url, I have now a good SEO and I don't want to change my permalink but I Don't know why is not working now... just from one day to the next...

It's a problem of WP or is just my host messing up? If is my blog, do you know what is causing this? (Just for create a concrete ticket about the exactly problem)

Thank you.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Hve you seen this?: Using Permalinks without mod rewrite « WordPress Codex

And using only %postname% in permalinks is a well known problem with Wordpress; it's best to use at least %postname%/%year% But WP won't throw 404's if you change permalinks; they will be forwarded.

share|improve this answer

I am most familiar with Apache, but I'll attempt to take logic there and apply it to IIS. There is a configuration option that determines what the index page is. That is, when you hit domain.com/ you will actually get domain.com/index.html. In IIS, I believe the setting you are looking for is called the "default document". You need to add index.php to the default documents list.

If you can not change the configuration, you could cheat by adding an index.html that redirects to index.php

share|improve this answer
    
Thanks, but that is not the problem, If I change my index.php for another one it works perfectly –  Jesus Rodriguez Aug 2 '10 at 8:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.