I am making a website in PHP where articles can be added.
There is a form on the website to add a new article, after which the data (title, text,…) is stored in a MySQL database.
Now I would like the articles to be found in the search results of eg Google, but a search engine does not crawl generated pages from a database.
Do I now have to create a page for each article, so that I end up with a lot of pages?
I have already tried to find out on the internet how to solve this, but I don’t really know in which direction to look.
I know there must be a way because many news or forum websites work like this, but I can’t figure out how they do it.
Does anyone know how to fix this or in which direction to look?