wordpress 初期設定

config.php

  • MySQL settings
    // 初期設定
    define(‘DB_USER’, ‘root’);
    define(‘DB_PASSWORD’, ”);
    define(‘DB_HOST’, ‘localhost’);
  • Authentication Unique Keys and Salts
  • $table_prefix = ‘wp_’; // 変更推奨
  • define(‘WP_DEBUG’, true); // true:デバッグ有効

DB作成

WordPress ダウンロード/インストール

  • ダウンロード
  • C:\xampp\htdocs\[任意のフォルダ] に解凍
  • http://localhost/[任意のフォルダ]/wp-admin/install.php にアクセス
  • 必要情報設定

セキュリティー対策

.htaccess

※パーミッション htaccess:604 / wp-config.php:400

<FilesMatch "^(wp-config\.php|wp-mail\.php|install\.php|wp-comments-post\.php|wp-trackback.php)">
order allow,deny
deny from all
</FilesMatch>
RewriteBase /[任意のフォルダ名]/ または RewriteBase / 
RewriteRule ^xmlrpc\.php$ "http\:\/\/0\.0\.0\.0\/" [R=301,L] // ※この行を追加
RewriteRule ^index\.php$ - [L]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /marathon/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^xmlrpc\.php$ "http\:\/\/0\.0\.0\.0\/" [R=301,L]
RewriteRule . /marathon/index.php [L]
</IfModule>

# END WordPress

プラグイン

一括インストールプラグイン:Multi Plugin Installer

  • Really Simple CSV Importer
  • Custom Post Type UI
  • Advanced Custom Fields
  • Breadcrumb NavXT
  • Google XML Sitemaps
  • Revision Control

画像等

PAGE TOP