Home Plugins fix content links
Fix Content Links logo

Fix Content Links

by Fleuv on WordPress.org

Replaces incorrect links to sources located in the uploads, plugins, themes or wp-content folder.

(0)
The plugin's settings page, located in the Settings submenu.

The plugin's settings page, located in the Settings submenu.

Ever had to replace a couple of links after a migration or because another user added it somehow incorrectly to the
site? Well no worries about that anymore, by simply installing and activating this plugin that problem will be gone for
good!

With this plugin you can either replace incorrect links temporary or permanently. At the plugin settings page you’re
able to tweak the replace algorithm at the following aspects:

  • Only replace links with a certain path prefix.
  • Exclude links from being replaced.

In the future there might also be a feature added to help specify on what content the replacement will be executed. For
now the plugin does only replaces incorrect links in the any post type’s post content.

By using this plugin on your WordPress site, you’re allowing the plugin to replace URL’s in the src attribute which
are stored in your WordPress site’s database and thus can be altered via the WordPress admin area.

Arbitrary section

The plugin comes with one hook fix-content-links_save_option_{$setting} where $setting is either: type, path or
exclude. With this filter you can add your own functionality before the saving process of an option completes.

Use with the Transient API to modify the admin notice during the saving process.

Example

' . __('Plugin disabled.') '

'; set_transient($update); } return $value; } ?>
Active installations10+
Weekly downloads
10+0.00%
Version1.0.2
Last updated1/13/2019
WordPress version5.0
Tested up to5.0.22
PHP version7.1
Tags
contenttool
Fix Content Links | Plugin0