Hi, i have a php file on site that gets direct links from hosting sites. I noticed a couple of sites are using my script in there embed codes to get direct links. What i want is to block those sites from using my php file. is there a way?
You could simply use a javascript to check the originating referrer. If it matches those sites redirect to something else.
i did find a htaccess way to block the sites. But is there a good to redirect the person to another page when that page is requested? Thanks, SP360