Max Rudik2016-12-15 22:37:33
Max Rudik, 2016-12-15 22:37:33

After transferring the site to hosting, what about access to the WordPress admin panel?

Good evening!
At first, after the transfer, everything worked, both the site itself and the admin panel.
Then I returned the old settings to the local version (in the admin panel and in wp-config) in order to continue working with the site on the local server and everything crashed.
At first there was a message - confirm that you do not mind sending credentials or indicate that the locale and the site are one resource (it was in English, the meaning is something like this).
Cleared the cache, cookies, now another message - ERROR: Cookies are either blocked or not supported by your browser. To use WordPress, you need to allow cookies.
On the forums, figures like me ask this question, do what they are advised, then write that it did not help. Their further fate is shrouded in darkness.
I really appreciate your help, thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Max Rudik, 2016-12-15

Thanks everyone, the issue has been resolved.
Here is stackoverflow.com/questions/15557718/after-migrati...

vasiliyvs45, 2021-05-07

Hello, I ran into the same problem and did not find a solution.
In the database, the options table of rules, that is, the domain has changed (not the first site transferred).
The problem remained.
Then he experimented for a long time and found how to solve it.
This helped me, SQL query to the database:
UPDATE wp_options SET option_value = replace(option_value, ' old.com ', ' new.com ');
UPDATE wp_posts SET guid = replace(guid, ' old.com ', ' new.com ');
UPDATE wp_posts SET post_content = replace(post_content, ' old.com ', ' new.com ');

beeboy, 2022-04-08

I was looking for a long time how to solve this problem - in the end I realized that the problem was in me - during the transfer, I inadvertently added a "slash" / to the domain and could not log in because of it. That is, I entered the following query:

UPDATE wp_options SET option_value = replace(option_value, 'old.com', 'new.com/');

Thanks for the tip @vasiliyvs45
Maybe it will help someone too)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question