Linux 软件免费装

New URL Mover

开发者 thoughtlabllc
lellimecnar
更新时间 2011年5月17日 07:28
PHP版本: 2.0.2 及以上
WordPress版本: 3.1

标签

move url change home domain bloginfo path

下载

详情介绍:

Sometimes you have to build a blog separately from the ain site, and then have to move the blog onto the main server. When you do, you have to update the database, which can be a pain. With this plugin, any time you navigate to the home page of your WordPress site, it will automatically check the location of your installation, and update the database for you if needed. It also adds a widget to your Dashboard to specify the url of your main site. We recommend, at the top of your functions.php file, that you add the following line: <?php define('ROOT_URL',get_option('ROOT_URL')); ?> You can then echo out the 'ROOT_URL' constant anywhere you need to link to the main site. For example: <a href="<?php echo ROOT_URL; ?>/about">About Us</a>

安装:

  1. Upload new-url-mover to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

更新日志:

1.0