LEMP (16.04) Wordpress acting strange

Ive (seemingly) successfully installed Wordpress on LEMP (16.04). Everything looks ok, until I test out my template (which works fine locally btw.)

When im on any page, my jquery resources are loaded as they should, but as soon as i switch to a post, my scripts arent loaded. Specifically; my .js-files located in the template folder dont show up in chrome devtools. So the template is broken, obviously.

Also, when im on any page, im logged in as admin in wordpress, but as soon as I switch to a post, im no longer logged in (wordpress-admin-bar disappears).

Does this makes sense to anyone? Im sure ive messed up some config along the way, but I have no idea where to begin looking. Any help appreciated :)


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Try switching theme to the default 2017 theme. If it works there, then the problem is in your theme. Otherwise disable all plugins and test again.

Heres me switching from a sample-page to a sample-post. See how the bar up top disappears. And im not able to open my js-menu either.