littlewonders/wordpress-replace-old-urls 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-01-13