Skip to content

0 Rows Replaced When Replacing URLs from MAMP Localhost to Live Site After Migration #1191

@jeffreybetts

Description

@jeffreybetts

Description

I just updated to the newest version of Elementor and was trying out the Replace URLs options in the Tools section. I entered in the old and new site URLs, and when I clicked Replace URL, I get a popup saying “0 Rows Affected”.

I first migrated the site using BackupBuddy, then ran the Replace URL tool. I am going from a local machine (URL is formatted like http://localhost:8888/folder/) to a staging site (URL is formatted like http://example.com).

Steps to reproduce

  1. Set up a site on a local environment (I use MAMP on OS X) with some pages built with Elementor that have images imported from the image library
  2. Add a text editor block with an image from the media library (use Add Media button in the editor)
  3. Migrate the site to a live domain (non-local)
  4. Use the Replace Tools feature in Elementor to replace the old localhost URL with the live site URL
  5. For the old URL (in my local environment) – http://localhost:8888/folder/ and for the new URL: http://example.com
  6. A popup is shown that "0 Rows Affected". No URLs were replaced

Environment

== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: 5.5.51
PHP Version: 5.4.45
PHP Max Input Vars: 1000
PHP Max Post Size: 64M
GD Installed: Yes
Elementor Library: Connected

== WordPress Environment ==

== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: 5.5.51
PHP Version: 5.4.45
PHP Max Input Vars: 1000
PHP Max Post Size: 64M
GD Installed: Yes
Elementor Library: Connected

== WordPress Environment ==
Version: 4.7.1
Site URL: http://example-staging.com
Home URL: http://example-staging.com
WP Multisite: No
Max Upload Size: 64 MB
Memory limit: 40M
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Language: en-US
Timezone: 0
Debug Mode: Inactive

== Theme ==
Name: Twenty Fifteen
Version: 1.7
Author: the WordPress team
Child Theme: No

== User ==
Role: administrator
WP Profile lang: en_US
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12

== Active Plugins ==
ACF to REST API
Version: 2.2.1
Author: Aires Gonçalves

Admin Menu Editor
	Version: 1.7.3
	Author: Janis Elsts

Advanced Custom Fields
	Version: 4.4.11
	Author: Elliot Condon

BackupBuddy
	Version: 7.2.1.6
	Author: iThemes

Better REST API Featured Images
	Version: 1.2.1
	Author: Braad Martin

Caldera Forms
	Version: 1.4.7
	Author: CalderaWP

Custom Post Type UI
	Version: 1.5.1
	Author: WebDevStudios

Elementor
	Version: 1.1.5
	Author: Elementor.com

Elementor Pro
	Version: 1.0.8
	Author: Elementor.com

Export Featured Images
	Version: 1.0
	Author: timersys

FacetWP
	Version: 2.7.3
	Author: FacetWP, LLC

Instagram Feed
	Version: 1.4.8
	Author: Smash Balloon

MMT FacetWP Custom Hooks
	Version: 1.0
	Author: Jeffrey Betts

OSD Exclude From Search Results
	Version: 2.4
	Author: OSD Web Development Team

Post Lists View Custom
	Version: 1.7.4
	Author: gqevu6bsiz

Search & Replace
	Version: 3.1.2
	Author: Inpsyde GmbH

Shield
	Version: 5.6.0
	Author: iControlWP

WordPress Importer
	Version: 0.6.3
	Author: wordpressdotorg

WordPress Popular Posts
	Version: 3.3.4
	Author: Hector Cabrera

WP REST API
	Version: 2.0-beta15
	Author: WP REST API Team

WP REST API - filter fields
	Version: 1.0.5
	Author: Stephan van Rooij

WP REST API - Pure Taxonomies
	Version: 1.0
	Author: Andrew MAGIK

WP Site Protect
	Version: 1.0
	Author: Henrique Mouta

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions