Can I Use HTTP Refferer

Can I disable a link if the link is not from the previous link

Like : https://example.com/ReffLink/ThisLink

People Must From previous Link First Then The Link page go

But People Dont Just Search https://example.com/ReffLink(Without click See This Link)/ThisLink(Locked)

Idk much about that … Maybe this’ll help?

1 Like

Yes, this is probably possible. Although you’ll likely have to custom code this in PHP to make this work.

If you’re linking from an external website, the post shared by @jaikrishna.t is relevant. If you’re linking from the same website, it doesn’t affect you.

Although I do want to state that the Referrer header is easy to manipulate by visitors, so you should not rely on it for any kind of security.

3 Likes