Answer the question
In order to leave comments, you need to log in
Does the search engine leave HTTP_REFERER?
Task:
there is a page, it should be indexed by a search engine, but when it is not loaded from a frame, it needs to be redirected to the main page. location.href and window.location will not work.
I just want to cut off direct access to the page, preventing it from opening without specifying the main page in HTTP_REFERER ... will it work?
//Nothing evil is planned, you need to open the main page and the frame with the same page that you visited
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question