If you are working on a local WordPress installation using XAMPP and have just changed the permalinks structure, you might come across “object not found” error.
The solution is to turn on mod_rewrite by editing apache/conf/httpd.conf. Just remove the comment in front of the line (around line #118) and restart Apache.
LoadModule rewrite_module modules/mod_rewrite.so
Credit.