Closed lmolteno closed 3 years ago
This might mean serverside rendering or some serious caddy configuration oof
Best to do this earlier rather than later as google has indexed it and stuff. I think I'll try to figure out a caddy method.
Oops, Caddy won't work. This is because I interface with the browser's URI value, which means it'll be different than normal, which kinda sucks.
Caddy can however redirect me to /subject/
from /subject/41
, then the /subject/
JS can access the 41
from the path and decide what to do with that.
so from
/standard/?num=91902
to/standard/91902
and from/subject/?id=1
to/subject/1