301 redirect with wildcard - need help
I have A LOT of 404s regarding 8 specific PHP files in many different directories.
What I would like to do is make a redirect for any file called e.g. test.php in any folder and redirect it to a file by the same name (I dont know if that is actually possible with wildcards) in the domain root.
Like...
/folder1/test.php
/folder2/test.php
/folder2/sub1/test.php
/folder3/test.php
/folder3/sub1/hello/test.php
Redirected to: http://domain.com/test.php
I've tried many options and Googled a lot, but I havent succeeded yet other than making a neverending 301 loop, which isn't exactly good.
I hope someone is able to help me here.
Thanks.
Martin
High-risk payment processing for pharma, e-cigs, seeds, and more!
Accepting investment management clients. Minimum deposit is $3000.
Skype/AIM: artizhay
High-risk payment processing for pharma, e-cigs, seeds, and more!
Accepting investment management clients. Minimum deposit is $3000.
Skype/AIM: artizhay