Answer the question
In order to leave comments, you need to log in
Https and an incomprehensible redirect after Vkontakte authorization, what should I do?
There is a site on http on which authorization through social networks works. After authorization, for example, through Vkontakte, a redirect to the main page of the site occurred. Today I connected https and when I click to log in through VK, the page does not redirect to the main one, but has such a link site.ru/index.php?code=0b4aaf567fd9372355&tate=e1sGdM4TaxmNg and the status is 302
in the console
I did a redirect in .htaccess like this c http to https:
RewriteCond %{HTTPS} =off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L]
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