I have a site, which is basically a search engine. So, whenever a user inputs something, a dynamic page gets created and as soon as the user closes it, it is no longer a page. For example, the link of my pages are like:
www.example.com/?q=SEARCH+TERM
So, how should I manage SEO for my site so that the search engines can also find all these dynamic pages which at some time, had been opened by someone and didn't return any error (404, etc.).