It is extremely easy to install WordPress - the whole process is usually done in five minutes. Read below to find out about installing WordPress via FTP.

 

Before installing

 

You should know certain things before attempting to install WordPress.

 

First of all, to install WordPress, you can register a domain from any company (NameCheap, Register, being just two of them).

 

Secondly, we suggest that you choose a performant web host. More exactly, before you make a purchase, contact the host provider and find out if they offer the minimum server requirements for WordPress and for the Superhero theme. You will find more information regarding this in the Checking server requirements article.

 

Thirdly, you must use a common software for the installation.

 

 

How to install WordPress via FTP

 

First of all, upload the WordPress files to the server through FTP, and afterwards create a database and install it via the Wordpress installation wizard.


Steps:

  1. Download the latest version of WordPress and then extract the zip files in your computer.

 

2. Open FileZille (or your FTP client) and then connect to your web host. Afterwards, go to the public_html directory and upload all WordPress files and directories to the public_html.

 

 

Important: In order to install WordPress on your root domain, you need to upload the WordPress files directly to your website’s root directory, which is called /public_html/. Alternatively, upload WordPress in a folder  /public_html/blog/ if you wish to install WordPress in a subfolder.

 

3. Log in your web host control panel,  then click on MySQL Databases icon in order to create a database for WordPress installation.

 

 

4. On the MySQL Databases page, enter a name for your WordPress database, then click on the  Create Database button.

 

 

5. Go to the MySQL Users section on the above page and fill out the Add New User form. Afterwards, click on the  Create User button to create a user for the database. 

6. Go to the  Add User To Database section from the above page and select the created database and user, then click on Add button. On the next page, select all the checkboxes and click on the  Make Changes button.

 

 

7. Go to your browser and access your site address (http://yoursite.com). You should be able to see the language selection page if you have performed the mentioned steps correctly. Choose your language and click on Continue button.

 

 

 

8. On the next page, click on the Let’s go! Button.

 

 

9. Enter the database and its user information on the next page. For security reasons, change the Table Prefix to a random string.

 

 

10. Click the Run the install button on the next page.

 

 

11. Enter your site and admin user information on the next page, then click on Install WordPress button.

 

 

12. A login page will appear.

 

 

Checking server requirements

 

In order to properly use WordPress and the Superhero theme, we highly recommend to use a server which supports the requirements explained below.

 

Requirements for WordPress

 

Follow these server settings:

 

 

Setting

Description

PHP

Version 7 or greater.

MySQL

Version 5.6 or greater.

MariaDB

Version 10.0 or greater. Only required if you are not using MySQL.

HTTPS

Supported by the server.

 

Important: Although WordPress works on PHP 5.2.4+ and MySQL 5.0+ as well, they do presents certain security vulnerabilities. Thus, we do not recommend them. Read the WordPress requirements article to find out more.

 

 

Requirements for Superhero

 

Follow these server settings:

 

 

Setting

Description

PHP

Version 5.4 or greater.

MySQL

Version 5.6 or greater

mod_rewrite

The Apache module needs to be activated for pretty permalinks.

GD Library

The library needs to be installed for Captcha and Image cropping.

cURL

Supported by the server.

OpenSSL

Supported by the server.

allow_url_fopen

Supported by the server.

upload_max_filesize

 16 MB or greater

memory_limit

 128 MB or greater

max_execution_time

 60 or greater

max_input_vars

The minimum value is 3000 but the recommended is 4000.

 

 

Check the server requirements

After you activate the Superhero theme, from the WordPress left menu, go to Superhero > System Status and check the server requirements.


Configure the server settings

 

In order to be able to achieve that, you must be familiar with php.ini, .user.ini and .htaccess files and to using FTP softwares.

 

Important: If you’re not very technical, then you should contact your host provider and ask them to configure the settings for you.

 

In order to properly install Superhero, you need to fulfill 11 requirements. The host provider should configure the first 5.

 

Configure the settings in php.ini and .user.ini files

 

The PHP configuration file (php.ini) is a special file which holds the settings when PHP runs. In some of the servers, it is not possible to change the settings in the main php.ini file and thus, they need to be overriden.

To override php.ini file:

  1. Create an empty file called php.ini in root directory of your website,  where WordPress is installed.

Important: You can access the WordPress installation location through your host control panel or by using FTP softwares. With most servers, you will find that in the folder public_html.

 

 

2. Add these codes in the file

allow_url_fopen = On

upload_max_filesize = 16M

post_max_size = 16M

memory_limit = 128M

max_execution_time = 60

max_input_vars = 4000

suhosin.get.max_vars = 4000

suhosin.post.max_vars = 4000

suhosin.request.max_vars = 4000

 

3. Check your server settings as explained in the previous section to make sure changes are applied. If you see no changes, rename php.ini file to .user.ini. It’s possible your server does not allow overriding server settings.

 

Important: Add define(‘WP_MEMORY_LIMIT’, ‘128M’) to increase the memory limit to your WordPress wp-config.php, right before the “That’s all, stop editing! Happy blogging. Line.”

Configure the settings in .htaccess file

 

This constitutes a configuration file for web servers that are running the Apache Web Server software. Also, you can configure some server settings with this file.

 

Follow the steps below to add these settings in the file:

 

  1. Open .htaccess file in an editor. You can find the file in root directory of WordPress installation. 

Important: You can access the WordPress installation location through your host control panel or using FTP softwares. In most of the servers, it is in the public_html folder.

 

2. Add these codes at the end of the file:

 

php_value allow_url_fopen On

php_value upload_max_filesize 16M

php_value post_max_size 16M

php_value memory_limit 128M

php_value max_execution_time 60

php_value max_input_vars 4000

php_value suhosin.get.max_vars 4000

php_value suhosin.post.max_vars 4000

php_value suhosin.request.max_vars 4000

 

3. Check your server settings as explained in the previous section to make sure that changes are applied.