I reach for help while my head is spinning! On my site, I can dynamically generate pages and use URL parameters to specify the database and record used to retrieve the information for the ad, artwork, and so on.
The page that uses these parameters is a single page, but can display thousands of different versions depending on the records you use.
The layout is currently: domain.com/details/?ls=00A&ls2=00B
BUT Facebook does not play a ball with the sharing of such a defined page. So I need to convert this into a virtual page that's more of this layout:
domain.com/details/00A-00B/ Where parameter 1 is 00A and parameter 2 is 00B
I think this has something to do with changing the rewrite rules or creating endpoints, but since the number of extensions on the page called "Details" can be thousands, this seems to be the point of the dynamically generated pages and to bypass the self-government.
How would anyone suggest to get a wildcard effect of the extension:
It seems to be similar to this post:
Passing and reading URL parameters with rewriting the URL
However, this and similar posts are more for a "fixed" extension, and I am looking for a placeholder extension that can be read via a custom code (via a shortcode) on the Details page.
Other posts like this: Facebook sharers and parameters in URL did not give any useful answer.