Hello I would like to know if somebody could help me with wildcards function in apache and .htaccess file. I have the following code in the .htaccess that redirects a subdomain to a folder in the main domain
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !www.domain.com$ [NC]
RewriteCond %{HTTP_HOST} ^([url]www.)?(
RewriteRule (.*) myfolder/param=%2¶m2=$1 [L]
The problem is that I like to rewrite more parameters, the code just alows to rewrite (.*) as a param2=$1 and want do something like this
RewriteRule (.*),(.
I tried this but doesn’t work and instead it redirects to the main domain.
I hope you can help me, please is urgent.
Thank you.