Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
43 views
by Talented

When cloning a site from dev.example.com to example.com not all URLs were changed to the new one.

site example.com -replace-content=[http://dev.example.com,https://example.com]

Did also not work.

Finally this plugin https://wordpress.org/plugins/search-and-replace/ found all the URLs and changed them.

I use Oxygen Builder that stores URLs in shortcodes. 

Do you need any more info what could have gone wrong?

by Talented
Hm, wierd, another site with similar software usage went just fine.

I guess it has to do with the facct that with the first one I had to use -overwrite=on as I did not realize you must not specify -wp if you are cloning and therefore had to overwrite a "fresh" site.

1 Answer

+1 vote
by Expert
selected by
 
Best answer
The Webinoly search-replace function works for any string saved in "post_content (wp_posts)" database table (it's just a simple MySQL query to this table). If you are using any other tool that uses content saved in a different place, it won't work.
by Talented
Ah ok, thought it would change the whole database. Thanks!

When one clones a site the whole database will be replaced though?
by Expert
Cloned sites have a new DB and the overwrite parameter (if enabled) will just delete your existing cloned site before creating a new clone.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...