Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Command line site URL administration tool for WordPress

License

NotificationsYou must be signed in to change notification settings

kieranmasterton/wpurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to wpurl

wpurl is a command line tool for updating the WordPress site URL.

Version: 0.1

Getting Started

  1. Grab yourself a copy of wpurl:

    git clonehttps://github.com/88mph/wpurl.git

  2. Make wpurl executable:

    chmod u+x /path/to/wpurl/wpurl

  3. Make your life easier:

    ln -s /path/to/wpurl/wpurl /usr/local/bin/wpurl OR add the folder that contains wpurl to your PATH.

Usage

cd /path/to/wordpress/docroot/

Checking the current site URL:

$ wpurl

Change the current site URL:

$ wpurlhttp://newsiteurl.com

Change the current site URL if you have customised your wp-config.php:

$ wpurlhttp://newsiteurl.com --dbname=example_db --dbuser=example_user --dbpassword=letmein --dbhost=localhost --tableprefix=wp_

License

GNU General Public License

Credits and Thanks

Developed by Kieran Mastertonkieran@88mph.com and Jon Reeks at 88MPH -http://88mph.com

Credit must go to the developers of drush the Drupal command line tool for their shell wrapper we modified for use with wpurl -http://drupal.org/project/drush

About

Command line site URL administration tool for WordPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp