[LW] Replace Old URLs GitLab
Simple find-and-replace plugin in Wordpress rendered HTML output
by Jay Williams · gitlab.com/littlewonders/plugins/wordpress-replace-old-urls
★ 0stars
13composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://gitlab.com/littlewonders/plugins/wordpress-replace-old-urls/-/archive/main/wordpress-replace-old-urls-main.zipAlso on Packagist as littlewonders/wordpress-replace-old-urls:
composer require littlewonders/wordpress-replace-old-urlsFrom the readme
Wordpress Replace Old URLs
Internal package to replace URLs in output. Can be used for example when switching site domains but where data is still stored in the database with an incorrect domain.
Requires an array of domains to replace to be defined in wp-config.php:
This will replace all instances of https://google.com in the wordpress output HTML with the current site URL.