This is probably the newbliest question ever, but I'm not a coding guy
I just bought a site that has a TON of traffic coming in through links on other sites going directly to files rather than to pages. What I'd like is a script (I assume .htaccess script?) that redirects people coming from other websites directly to files away from those files and instead to the pages on which those files are hosted. Get me?
So for example:
www.example.com/file.exe
would redirect to
www.example.com/downloads.php (on which file.exe is available for download)
I just bought a site that has a TON of traffic coming in through links on other sites going directly to files rather than to pages. What I'd like is a script (I assume .htaccess script?) that redirects people coming from other websites directly to files away from those files and instead to the pages on which those files are hosted. Get me?
So for example:
www.example.com/file.exe
would redirect to
www.example.com/downloads.php (on which file.exe is available for download)