Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I also have a problem with WP 2.0 and the .htaccess file. It’s odd but all my permalinks work fine, even though WP is not generating an .htaccess file. I have looked all over the place for it and it doesn’t exist.

    It’s great that my permalinks work, the problem is that my main page returns an internal 404 when it’s accessed with a trailing slash. E.g.:

    myblog.com/index.php

    works fine, but

    myblog.com/index.php/

    gives me an internal 404. This mystifies me. Can anyone give me some tips?

    Thread Starter adriand

    (@adriand)

    For the benefit of anyone who might have a similar problem, I finally figured this out. My problem was that at the top of my header.php file, I had a comment that was the very first thing there – in fact, it was there even before the <html> tag. Don’t ask me why this caused this problem, but removing that comment did the trick. Bottom-line: anything before <html> in header.php is a no-no.

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