I'm trying to solve a problem with WordPress here. I've added the htaccess code that WordPress provided for permalinks and they are working fine.
However, when I log in, it seems to redirect me back to the main ndex page with a note saying "Sorry, no posts matched your criteria". If I go to /wp-admin/ I get that message, but it shows the admin menu if I go to /wp-admin/index.php. Funnily enough if I go to /images/ I get the "Sorry, no posts matched your criteria" message as well.
When I remove the .htaccess file, those problems go away. Is there a way to get around this problem?