Skip to content
Advertisement

WP-CLI doesn’t replace sitename

I am trying replace the site url via WP-CLI the command bellow:

JavaScript

However I am getting in the console:

JavaScript

What I missed?

Advertisement

Answer

I found the solution. One of the keys in each database table has to be marked as the primary key, or else WP-CLI will skip over it and output skipped as shown above. Thanks @disinfor very help me. Always to check the tables in database.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement