1.0.2 • Published 4 years ago

wordpress-replace-host-database v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

wordpress-replace-host-database

Node.js command to replace host in WordPress database

Simple usage

cd /path/to/wordpress-replace-host-database
node index.js https://example.com http://example.local wp_example.sql

Using a config file

cd /path/to/wordpress-replace-host-database
node index.js --config config.json wp_example.sql

config.json

[
  {
    "from": "https://fr.example.com",
    "to": "http://fr.example.local"
  },
  {
    "from": "https://example.com",
    "to": "http://example.local"
  }
]
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago