Hello
Before anybody gets pissed and screams RTFM because im asking about help topic i am going to say that i have read the text at http://codex.wordpress.org/Creating_an_Error_404_Page
And this text is of little use to me. I also had problem with human friendly urls, but that got solved when i entered /%postname%/ as default permalink conf and wordpress wrote into web.config file. Thats right... web.config not .htaccess - that is the root of my problems.
Q1) - what do i have to do with web.config so that nonexisting urls were directed to index.php?error=404
Q2) - what do i have to do with wordpress so that example.com/index.php?error=404 would display error page not my front page? The design that i am using has 404.php. This 404.php contains basic 404 stuff that the default 404.php has:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<h2 class="center">Error 404 - Not Found</h2>
</div>
<?php get_footer(); ?>
but when i go to index.php?error=404 then all is see is frontpage. apparently this is not the problem of the design, as when i turn on the default design i get the same results.
Alan