WordPress3.0 インストール準備 1

WordPress本体ファイルを解凍してインストールの準備をします。先に、データベース設定と言語設定を行う方法で準備します。また、ローカルPCにインストールする方法はこちらを参考にしてください。

1.[ wordpress-3.0-beta1 ] フォルダを開きます。

[ wordpress-3.0-beta1]を開くと [ wordpress ] フォルダがあります。[ wordpress ] フォルダを開くと中にWordPressを構成するファイルとフォルダがあるのが解ります。

WP3.0_05-1

2.wp-config.php ファイルを作成して編集します。

[ wordpress ] フォルダ内の [ wp-config-sample.php ] ファイルをコピーします。

WP3.0_05-2

[ コピー ~ wp-config-sample.php ] ファイルができます。

WP3.0_05-3

[ コピー ~ wp-config-sample.php ] ファイルのファイル名を[ wp-config.php ] に変更します。

WP3.0_05-4

3.[ wp-config.php ] ファイルを開き編集します。

赤枠の部分を利用するレンタルサーバーのデータベース接続情報に変更します。

WP3.0_06

変更前

[php num=17]// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘database_name_here’);

/** MySQL database username */
define(‘DB_USER’, ‘username_here’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘password_here’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);[/php]

変更後

[php num=17]// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘●●●●●●’);

/** MySQL database username */
define(‘DB_USER’, ‘●●●●●●’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘●●●●●●’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);[/php]

4.言語設定は、72行目になります。日本語を使用する場合は変更します。

  ※WordPress英語版の場合

変更前

[php num=72]define (‘WPLANG’, ”); [/php]

変更後

[php num=72]define (‘WPLANG’, ‘ja’); [/php]

This entry was posted in WordPress3.0 and tagged , , , . Bookmark the permalink.

Comments are closed.

  • 最近の投稿

  • カテゴリー

  • タグ

  • QRcode
    このWEBサイトを運営することで発生するCO2は、カーボンオフセットされています。