F
F
Forleyn2015-10-11 02:20:02
PHP
Forleyn, 2015-10-11 02:20:02

Function in WP outputs the wrong path?

I uploaded the site to the hosting, but the bloginfo('template_url) function displays the path as when I had the site locally.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Skobkin, 2015-10-11
@skobkin

The fact is that when you transferred the site to the hosting, you did not correct the addresses in the database (partially done in the settings, partly you have to do it manually if the content includes links to the site).

O
Octik, 2015-10-11
@Octik

here everything is written in detail how to move the site to the vp dimox.name/moving-the-site-on-new-domain without pain

M
Mr Crabbz, 2015-10-11
@Punkie

Even easier - https://wordpress.org/plugins/duplicator/ . Installed a plugin. Made a backup. Got the archive and installer. uploaded to a new host. Run http://new-host.com/installer.php . The wizard will ask for a new login password and database from MySQL. Everything. He will make all the changes himself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question