Turns out getting the stuff to work on subsequent directories was pretty easy. All I needed to do was change the :id at the end of the routes to /* then the params.id to just params[0] to grab the whole route. I’ve been sent on wild goose chases to figure out why some stuff wasn’t working, only to find it later just working despite me only writing debug lines. Also need to figure out why the backend sometimes just randomly crashes since it forces me to manually restart the website which is kinda annoying.