All pages are returning 404

Hello!

I already searched about this topic, but nothing worked at all :frowning:

I’m using WAMP server wtih php 7.0, single page sites works, but my new one with pages doesn’t.

Already tried change the RewriteBase on the .htaccess and nothing D:

<ul>
    <?php foreach($pages->visible() as $item): ?>
    <li><a href="<?php echo $item->url() ?>"><?php echo html($item->title()) ?></a></li>
    <?php endforeach ?>
  </ul>

Tested with this code aaaand 404. Using the preview link in the panel doesn’t work too, I can use the panel normally

So you can access the Panel, but the complete frontend including the homepage return 404? Or does the homepage work. It’s weird that the Panel works, though.

  • Have you cleared your browser cache?
  • What about the generated links, are they ok?
  • Does it work with a fresh Starterkit?
  • Are you using the default .htaccess that ships with Kirby or have you changed anything in that file?