Answer the question
In order to leave comments, you need to log in
How to edit links in wordpress without admin panel?
Good afternoon.
I am restoring a site here for a friend and ran into a problem, the menu item links send me to the old domain which no longer exists, the domain will be new. In the meantime, I uploaded the site to my test hosting and connected the database to it, changed all the addresses of the old domain to new ones in the database via SQL queries. But the style sheets were not connected and in the menu items the old domain is still in the link, which means that I don’t get into the admin panel when I log in, because the old domain is in the address, I’m trying to find the file in which all this is written in order to change it to the one I need, tell me where to drip?
This is what the change request gives me in SQL
Answer the question
In order to leave comments, you need to log in
In wp-config write
define('WP_HOME',' example.com ');
define('WP_SITEURL',' example.com ');
Well, change it in the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question