Jump to content

Install and Setup Wordpress

From Parasol

Installation

[edit]

Download Source

[edit]

https://wordpress.org/download/ (Please install the english (US) Version of Wordpress)

Setup Wizard

[edit]

Step 1

[edit]

Error creating thumbnail: File missing

Database Name

[edit]

The Project ID, see Creating Databases.

User Name

[edit]

A strong Username, see Creating Databases

Password

[edit]

A strong Password, see Creating Databases

Database Host

[edit]

local- or Databasehost

Table Prefix

[edit]

a min. 5 char random string followed by a _. E.g. W6sJ8_

Step 2

[edit]

Securing the first/admin user is very important! Please continue with the following principles:

Error creating thumbnail: File missing

Username

[edit]

Use a Password like (see creating Passwords) min. 13 char long Username, e.g. rn4kiYIWkpw4m

Password

[edit]

Use a very strong Password (see creating Passwords), min 26 char long. e.g. 068H%TBl*Vs+0Df3-*ZCM%6m1,

Step 3

[edit]

Store all created User/Database-Names and Password secure.

Harden your installation

[edit]

Update Unique Keys and Salts

[edit]

Open wp-config.php and create unique "Authentication Unique Keys and Salts" as described.

Hide WordPress Version

[edit]

Open your wp-includes/functions.php file and add in this line of code.

<?php remove_action('wp_head', 'wp_generator'); ?>

Change File Permissions

[edit]

CHMOD everything to 755/644, take care the files have the right user (usually www-data)

For Directories

[edit]

find /path/to/your/wordpress/install/ -type d -exec chmod 755 {} \;

For Files

[edit]

find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} \;

Lockdown the admin area

[edit]

Create wp-admin/.htaccess with the following content

<Files wp-login.php>
order deny,allow
Deny from all
 # Whitelist Your IP address
 allow from xx.xx.xx.xxx
 # Whitelist our Office's IP address
 allow from xx.xx.xx.xxx
</Files>


Default plugins

[edit]

https://wiki.parasol-island.com/images/1/14/1708_wordpress_default_plugins.zip


Google XML Sitemaps

[edit]

https://wordpress.org/plugins/google-sitemap-generator/

WP Robots Txt

[edit]

https://wordpress.org/plugins/wp-robots-txt/

[edit]

Visual Composer: Page Builder for WordPres

[edit]

http://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431

Good Wordpress Ressources and Tutorials

[edit]

Plugin Development

[edit]

http://wp.tutsplus.com/uncategorized/3-5-hours-of-wordpress-plugin-development-training/

Performance Improvement

[edit]

http://wp.tutsplus.com/tutorials/the-ultimate-quickstart-guide-to-speeding-up-your-wordpress-site/

Content-Pflege

[edit]
  • Während der Entwicklung ohne Live-Version auf "Stage"
  • Während dem Live-Betrieb immer auf "Live"


Caching Wordpress

[edit]

Bytecode Cache / PHP OPcache

[edit]

Caches the compilation of php scripts. Bytecode Caches are APC (deprecated), APCu and OPcache. Recomended: OPcache.

Variable and Session Caching

[edit]

Caches Variables and Session in memory and in a central storage to allow e.g. multiple webheads. Variable and Session Caches are memcached or Redis. Recomended: Redis.

Page Caching

[edit]

Caches an entire page to prevent php or MySQL calls while accessing the page. Page Caches are Varnish or nginx FastCGI.

Caching Plugins

[edit]

The Caching Plugin controls the to be cached CMS content, e.g. minifying it upfront. Caching Plugins are WP Rocket or WP Super Cache. Recomended: WP Rocket.