WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

mPress Fix URL References

Easily fix URL references in your WordPress database.

Advanced Usage

By default, this plugin only replaces URLs in specific tables and fields that would typically have URL references. I understand that this doesn't meet everyone's use cases, so this plugin exposes a simple PHP function for replacing string content from any given table and field.

Please only use this function if you know what you are doing:

mPress_Fix_URL_References::run_replacement_query( $table, $field, $old, $new );

This plugin replaces content in the 'post_content' field in the 'posts' table. The line of code below is from this plugin and is given as an example of how to use this function:

mPress_Fix_URL_References::run_replacement_query( 
    'posts', 
    'post_content', 
    'http://www.old-domain.com', 
    'http://www.new-domain.com' 
);

Notice how the table name doesn't include the WordPress table prefix. This gets added automatically.

Requires: 3.2 or higher
Compatible up to: 3.4.2
Last Updated: 2012-12-8
Active Installs: 300+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1