M
M
Michael2011-04-18 18:26:00
JavaScript
Michael, 2011-04-18 18:26:00

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

2 answer(s)
S
stampoon, 2011-04-18
@stampoon

Googlebot referer does not send. In general, frames are evil.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question