jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
708
0
316
Wondering if anyone could answer a question

I have a site like domain.com under that I have a folder called test so something like this
domain.com/test/

Now both domain.com and also the dir test under it have the same files under each of them.
How would I setup a redirect maybe in htaccess or rule that when someone would type in for example domain.com/test/me.html it would redirect them to domain.com./me.html
I know I can setup redirects in cpanel, but how would I have setup one rule in htaccess to redirect all names in the test folder to the same names in the root folder?

Any ideas?