littlewonders/wordpress-replace-old-urls
最新稳定版本:1.0.2
Composer 安装命令:
composer require littlewonders/wordpress-replace-old-urls
包简介
Simple page replacement for Wordpress, replaces specified values with others.
README 文档
README
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:
define( 'URLS_TO_REPLACE', [
"https://google.com/"
]);
This will replace all instances of https://google.com in the wordpress output HTML with the current site URL.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-01-13