Dev Tool:

Request: about/locations/san-francisco
Matched Rewrite Rule: about/locations/([^/]+)(?:/([0-9]+))?/?$
Matched Rewrite Query: locations=san-francisco&page=
Loaded Template: single.php