Forum Moderators: phranque
#RewriteRule ^([0-9a-z\-A-Z]+)$ ./index.php?pg=$1
You get 404 Not Found, because you rewrite your requests at a.domain.com to a.domain.com/index.php?pg=$1.
What is the first "." for in "./index.php?pg=$1"?You can use index.php?pg=$1 it doesn't matter.
I only have access to example.com and I need the .htaccess file in example.com to redirect anything.domain.com to domain.com?ref=anything.
Is it possible?