[ トラックバック(0) ]
Counter: 12251,
today: 1,
yesterday: 9
WordPressのURLを変更する
WordpressのURLを変更する場合、
設定変更はすべてブラウザ画面上から可能です。
あとはサーバ上でデータの移動を行えば完了です。
(例)http://test.jp/ → http://test.jp/wordpress/
※WordPressのインストール先は/var/www/test-htmlとする
※WordPressME2.2で確認
1.サーバ上からwordpress領域をコピー
# cd /var/www/ # cp -prf test-html ./wordpress # mv wordpress test-html/
2.ブラウザでwordpressにアクセスし、設定の変更を行う
[管理者メニュー]→[各種設定]→[一般設定]より、設定を変更 ------------------------------------------------------------------ WordPress のアドレス:http://test.jp/ → http://test.jp/wordpress/ ホームページアドレス:http://test.jp/ → http://test.jp/wordpress/ ------------------------------------------------------------------ [設定を更新]をクリックし、適用させる。
手順に誤りがなければ、以上で作業は完了です。
http://test.jp/ → http://test2.jp
といったドメインレベルでの移行でも同様に、
1.サーバ上からwordpress領域をコピー
2.ブラウザでwordpressにアクセスし、設定の変更を行う
で問題ありません。バーチャルドメインの設定については、
バーチャルドメインの設定(apache)を参考にしてみて下さい。