How can mod_rewrite be used to optimize PHP-generated HTML pages for search engines like Google?

To optimize PHP-generated HTML pages for search engines like Google, you can use mod_rewrite to create search engine friendly URLs. This can improve the overall SEO of your website by making it easier for search engines to crawl and index your pages. By rewriting URLs to be more descriptive and keyword-rich, you can increase the chances of your pages ranking higher in search engine results. ```apache RewriteEngine On RewriteRule ^page/(.*)$ page.php?page=$1 [L] ``` This code snippet uses mod_rewrite to rewrite URLs from `page.php?page=example` to `page/example`. This makes the URL more user-friendly and search engine optimized.