How to Convert PHP HTTP_REFERER to Null referer
How to Convert JS document.referrer to Null referer

Forexample site

Recommended Answers

All 2 Replies

Regarding PHP try this:



    if(filter_var($url, FILTER_VALIDATE_URL) !== FALSE)
        header('Location: ' . $url);

Save it, for example, as noref.php, then use a link like this:


I'm not sure it's enough, but I've made few tests and seems to work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.