Skip to content

Commit

Permalink
Added example how to avoid problems
Browse files Browse the repository at this point in the history
Commit related to wp-media#115 
adding this question to the documentation as example how to do replace for avoiding problems.
  • Loading branch information
bvdv authored Nov 22, 2018
1 parent 8b99da3 commit 7ed666d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,32 @@ Go to `Tools -> Search & Replace` to view the plugin's user interface.

Please **always** backup your database before performing search/replace operations.


For avoiding problem please keep in mind that this plugin search and replace strictly what is specified in "Replace With".


Common error example:

Search For: http://web.com/wordpress/

Replace With: http://neuweb.com/wordpress

The url become something like:
http://neuweb.com/wordpresscontent/...



Correct "Replace with":

Search For: http://web.com/wordpress/

Replace With: http://neuweb.com/wordpress/

The url become something like:
http://neuweb.com/wordpress/content/...



**Multisite usage:**

If you are running a WordPress multisite and want to export the tables of all sites, run the plugin on the main site. Using the plugin on a subsite will only backup the tables of that subsite.
Expand Down

0 comments on commit 7ed666d

Please sign in to comment.