I have a custom page named locations and i want the URL to load like this:
/locations/california
/locations/nevada
etc..
and upon each page load of the given URL as above content is loaded based on it. So for example if California is loaded specific information to california would be loaded. How would I go about doing this in WordPress? I tried visiting /locations/california and I get a 404 so I guess WordPress is looking for the permalink /locations/california