I need to forward existing subdomain links to the root domain as the subdomain no longer exists. I have tried so many different lines of code in my .htaccess
file and can not get the redirect to work.
The links to the subdomain look like: http://sub.example.com/dir/y99bb4
Can anyone suggest any code for me?