By a normal redirection from your cPanel, you can redirect a folder to a particular link. But there is not provision to add a redirection for all the files in a folder to a particular link in cPanel. But you can acheive this by following the below steps.
I am hereby explaining the concept with an example.
Redirect http://example.com/test/file1,…file2,…file3 etc.. (All the files in the folder test), to the link http://pickaweb.co.uk.
- Log in to Cpanel for example.com.
- Go to file manager.
- Open the folder ‘test’
- Create a file with the name .htaccess (The dot is compulsory and the spelling should not be altered. If you have a one, open that).
- Enter the following lines there.
RewiteRule (.*) http://pickaweb.co.uk [l,nc]
- Save the file and exit.
- Check the link http://example.com/test/file1