Subpages don't work with XAMPP?

I’ve locally installed Grav with the Agency skeleton theme and the newest version of XAMPP. However, there’s a problem. Any of the subpages don’t work, only the front page works. I installed the admin plugin via GPM and when I try to go to c:/xampp/htdocs/grav/admin I get this message:

“Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404”

The weird thing is that I uploaded the site as-is to my webserver and lo and behold, everything works perfectly there. It must be then an issue with XAMPP and Grav not playing together for some reason. Any ideas what could be causing it?

You need to makes sure you have the rewrite and headers modules enabled for Apache

Thanks for the link, that solved it. Looks like I’m an idiot and didn’t copy the .htaccess file. Works fine now.

no worries :slight_smile: glad you got it sorted…