I need to redirect all subdomain
requests like anytext.bday.life
to bday.life/index.php
I tried the following code on my htaccess
file but it doesn't work.
Is there any solution for this?
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(.*)\.bday\.life
RewriteRule ^(.*)$ http://bday.life/index.php?name=$1 [L,NC,QSA]