Just wondering if its possible to use a wildcard domain in my htaccess file with a folder.
For example redirecting (^.*).test.com/myfolder/ to folder/test.php?id=$1
This is what I have so far but no idea how to add a folder after the URL:
RewriteCond %{HTTP_HOST} ^(^.*)\.test\.com
RewriteRule ^ folder/test.php?id=%1
Thanks!