I
I
Ivan Semenov2016-04-06 12:54:09
WordPress
Ivan Semenov, 2016-04-06 12:54:09

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?
919aba9543814381b512c7483d20df36.jpg
This is what the change request gives me in SQL
1b1a3c0007844f65b2f647568b40b58d.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Kozlov, 2016-04-06
@kokman_semenov

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 question

Ask a Question

731 491 924 answers to any question