I created a page called Catalog and also a template called page-catalog.php. The url looks like this now: sitename.com/catalog
So far so good, however i use some custom php stuff to list products from another database. So when i click on a brand in this page, i want to use an url like this: sitename.com/catalog/brands/brandname
But obviously because the data is not coming from Wordpress, it gives me 404. Is it possible to use the same page-catalog.php file if the url has more parts?
I could use an url like this: sitename.com/catalog/?brand=brandname But this solution is not so sep friendly.