.htaccess with dynamic php - subfolder problems
问题 Necessary Knowledge My .htaccess file redirects like this: domain.com/about to domain.com/index.php?page=about RewriteRule ^([^/.]+)/?$ index.php?page=$1 [L] The "page" variable is used in a php include: <?php include_once($_SERVER['DOCUMENT_ROOT']."/contents/".$page.".html"); ?> The "contents" folder simply contains .html files that are included as the content Okay here's the problem: I have a "subfolder" in the "contents" folder with additional .html files that I need to access Now I'm