I tried try_files {path} /index.php?{query}&p={path} but when i query a page it shows 404 error and sometimes after refreshing it works sometimes not.
I have searched for the past two days but all the config i see for wordpress are minimal and does not work for me
6. Links to relevant resources:
Thanks for your help as i am currently with Nginx but would like to use Caddy if i can get this wordpress to work.
You say “does not work”, but what isn’t working exactly? What’s the actual problem? What are in your logs? What do you see in your browser? What if you try with curl -v, what happens?
I just upgraded to caddy v2 and I am having this same exact issue. The main static page loads just fine, but trying to go to any other page besides the home page just loads a blank, white page.
Not sure if this helps, but this is part of the code I used to use in v1