Answer the question
In order to leave comments, you need to log in
Redirect via htaccess on cookies?
if the user opens example.com
, you need to check if he has cookies and if so, then redirect example.com/cookie_value
but do nothing, there is something like example.com/post/123 after the slash
Answer the question
In order to leave comments, you need to log in
RewriteCond %{REQUEST_URI} !post/123$
RewriteRule ^/cookie_value$ /тут_что_хотели/? [L,R=301]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question