I have learned how to retrieve data from a database to a single page by using a form, so I would not need to create many pages to show the elements of a catalog. The concern that I have is how to make this database content available for search engines.
I have read that I need my site to generate different URLs for each search result, but in my test, the webpage always has the same URL without any additional parameter. I know that sites like Facebook and similar generate particular URLs for each profile and they are indexed, but I don't know if "physical" files exist for them or how this is done. I have read similar questions to this, but still can't figure how to generate the URLs.