Answer the question
In order to leave comments, you need to log in
How to register a redirect, only for a direct call?
You need to redirect the visitor to another domain, only if he entered the site address manually, and did not go from another.
Those. if the visitor moved, say, from the search to the page https://example.com/some/page
Then do nothing. And if he entered the address of the same page, or opened it from a bookmark, then redirect him to another domain, https://another-example.com/some/page
what rule should be written in .htaccess ?
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