S
S
Sergey2018-10-20 12:26:09
WordPress
Sergey, 2018-10-20 12:26:09

How to change $settings['url'] wp?

Good afternoon, the site is moving from one domain to another, the paths to the files are absolute through a variable $settings['url']in which the old name of the site, and I need to enter a new one. I didn’t find the variable anywhere except in the papMyAdmin database in the table, wp_optionsbut there is the current (correct site address)
and errors are pouring into the console that files cannot be found at the specified path (the path of the old domain)
Where can I find this variable?) $settings['url ']
I didn't find it in the admin panel either
Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Syomka Gavrilenko, 2018-10-20
@cema93

By default, WP does not have a $settings variable, so this variable is set somewhere in your theme files or in some plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question