Wordpress
Jump to navigation
Jump to search
Installation
Download
- Download the file from: WordPress
- Uncompress latest file
tar -zxvf latest.tar.gz
Apache Setup
- Setup apache to access to that directory
Special Setup for Multiple Sites
- Add the following lines into wp-config.php
/* Multisite */
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'mydomain.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define('ADMIN_COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
- Special instruction configured in Apache or .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress
Plugin
Social
SEO
- Google Analytics Dashboard for WP
- WordPress SEO
- WP-Piwik
Security
- Contact Form Maker
- Limit Attempts
- Wordfence Security
- WP Security Audit Log
Locallization
- mqTranslate
Editor
- TinyMCE Advanced
Contact
- Contact Form Maker
Bug
Table 'wp_wfls_settings' doesn't exist
CREATE TABLE IF NOT EXISTS wp_wfls_2fa_secrets (
id int(11) unsigned NOT NULL AUTO_INCREMENT,
user_id bigint(20) unsigned NOT NULL,
secret tinyblob NOT NULL,
recovery blob NOT NULL,
ctime int(10) unsigned NOT NULL,
vtime int(10) unsigned NOT NULL,
mode enum('authenticator') NOT NULL DEFAULT 'authenticator',
PRIMARY KEY (id),
KEY user_id (user_id)
) DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS wp_wfls_settings (
name varchar(191) NOT NULL DEFAULT '',
value longblob,
autoload enum('no','yes') NOT NULL DEFAULT 'yes',
PRIMARY KEY (name)
) DEFAULT CHARSET=utf8;