A
A
Alexey Nikitin2016-02-12 17:42:34
WordPress
Alexey Nikitin, 2016-02-12 17:42:34

Why does the installation of WordPress start when opening a WordPress site on a new hosting?

The algorithm is as follows:
- I make a backup of files + a database
- I upload files to a new hosting
- I create a new database on a new hosting and import my database into it
- I will register DB_NAME, DB_USER, DB_PASSWORD and DB_HOST in wp-config.php
- I will register in wp-config. php WP_HOME and WP_SITEURL.
I open the site and the WordPress installation starts. What's wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Nikolaev, 2016-02-12
@nikitin88

The database also has a home url and a site url that you need to replace before importing (search for the old domain, change to the new one). Or you can use one of the crooked plugins to transfer the Wordpress database to another hosting, but I prefer to do it manually.

V
vasiliyvs45, 2020-12-28
@vasiliyvs45

You need to check the table prefix (prefix names) in wp-config.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question