I'm working on a dynamic site and want it to operate similar to a real-estate site where every property seems to have its own page. I know they don't build and maintain millions of unique pages, but google results have unique URLs as if they do.
Using the wordpress add_rewrite_rule(), I'm directing anything under
this_template.php which will build the page based on the URL content.
My question is, can I include specific URLs in the sitemap.xml, even though those pages don't "exist", and submit them via the google search console?
My sitemap.xml contains the url
https://www.mysite/this_dir/cats-are-cool-yes and somebody searches
Cats are cool yes.
Will google return a page with that url as a search result, even though the page is actually
If not, how would I achieve this? Thanks!