Apologies if this has been answered already - I have singularly failed to word my question in a way that Google can help.
I'm trying to create a page that acts as a base URL for a range of items with numbers - those items won't have pages, but rather than
I'd like to create
Capturing the ID number in variable form and forcing all instances with that 'page-name' to be handled by a single template. I've seen WooCommerce do something like this, and am currently searching the codebase to try and figure it out, but any pointers would be appreciated.