Follow the search engine’s guidelines
Read the guidelines of the search engine carefully and check if the website complies with them. The most popular search engines have similar guidelines.
In the worst case, not complying with these guidelines can lead to the website being excluded from the search results of that particular search engine.