Hi, @mad !
Today, I pulled my Automad websites from production to my machine to develop a new theme on top of my existing content.
I had a previous functional "MAMP for Windows 11" installation and configuration to do so (with virtualhost), and it was working fine last time I used it, but now, no matter what Automad project I try to work on, only the index page displays fine. Any other URL, including
/dashboard, throws a 404 to my face.
After one morning of unsuccessful attempts to find the source of the issue and fix it, I tried to get rid of MAMP and get a similar setup on WAMP, with a very basic virtualhost configuration... Out of luck.
After browsing other topics here, on both MAMP and WAMP, I made sure that:
.htaccess is strictly the same as the one you provide (but my custom one had only https redirect on top of yours, so it was pretty harmless) and parsed (successfully tested)
- Rewrite module is loaded in apache
httpd.conf and the content of
<IfModule mod_rewrite.c> is being parsed (successfully tested)
- My virtualhosts each have
- My local WAMP server config is : Apache/2.4.58 (Win64) PHP/7.4.33 mod_fcgid/2.3.10-dev Server at local.autodoc Port 80
- I have Automad v1.10.9
I assume it is an issue on my end, as the production websites both work, but I can't find where the problem lies...
I even tried with a clean new project containing only automad-master files, straight out of the box, on MAMP.
The result is still the same.
The only things that may have changed between last time it worked and now are :
- Some Windows updates... I doubt the issue is here but why not?
- Some MAMP updates, why would I also encounter the same issue on WAMP?
- Some Automad updates I did remotely (and that work fine on production) without checking that they work on local install.
Apart from that, I went through every hypothesis, and I'm out of ideas. Do you have insight that could help me get through this?
Thank you very very much!
And a happy new year to you, by the way!
EDIT : Since I posted this, I actually tried it on XAMPP and AMPPS with many tweeks... Same result. I'm actually starting to think it has to be something else than the server I run... But What? And why did it suddenly stop working?