Reputation: 1
In hugo, i have a folder "/stock/caterpillar" and a url string "stock/caterpillar/tracks" where "tracks" should be a parameter but hugo treats it as a page and therefore 404 error
my working url string is /stock/caterpillar/?subcat=tracks
i want it to be /stock/caterpillar/tracks
where "tracks" could be anything... example: /stock/caterpillar/wheeled or /stock/caterpillar/excav
then in /caterpillar/single.html i can use whatever came after /stock/caterpillar/ just like it was /stock/caterpillar/?subcat=tracks which works perfectly... but i'd rather it be "/stock/caterpillar/tracks"
"tracks" should not the treated as a folder but a parameter i will use in the /stock/caterpillar/single.html page
at the moment im getting 404 because hugo says it cannot find the folder "tracks"
Upvotes: 0
Views: 34