How to force SSL Redirect for Apache or NginX

You can force an HTTPS connection on sites that run on a server that uses Apache, by adding these rules to the top of the .htaccess file: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]   If your server uses Nginx, add this to the top of the configuration file: server { listen 80; server_name exampsite1.com exampsite2.com; return 301 https://$host$request_uri; }  

Continue Reading

How to install WordPress Manually on cPanel

Download the WordPress Package from: https://wordpress.org/download/. Leave this package zipped for upload later. Create a new MySQL Database & user: https://subversive-tech.com/kb/?p=56 NOTE: You will need the Database Name, Username, Password, and Database host to setup WordPress. Select the proper directory and click the Upload option in the Menu Bar. NOTE: If installing to a subdomain this will need to be created first. Once the file is uploaded it will need to be extracted. Select the file in the File Manager and then click the Extract option from the Menu Bar. Enter a directory if you wish to have the files extracted to different directory, then click the Extract File(s) button. IMPORTANT:… Read More

Continue Reading

How to Install WordPress Using Softaculous

Locate the Softaculous App Installer panel in cPanel, and select the WordPress icon in the Scripts Slider. Click on the Install button after verifying you have adequate space for the install. Enter the domain information: Select the Protocol to use. If your domain has an SSL certificate chose HTTPS. Select the Domain or Subdomain you want to install WordPress into from the dropdown menu. Directory: The install defaults to WP and will create this directory if not changed and will install in https://mydomain/wp/. To install in https://mydomain/, clear this field and leave blank. Enter a Name and Description for your WordPress Site. If you are planning on a multisite install… Read More

Continue Reading

Install WP-CLI

WP-CLI is a set of command-line tools for managing WordPress installations. It allows you to run updates, add users, activate themes and more Website: http://wp-cli.org/ Installation curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar  chmod +x wp-cli.phar  mv wp-cli.phar /usr/local/bin/wp List of Available Commands: The wp-cli website contains the full lists of commands available. http://wp-cli.org/commands/ The help pages for wp-cli can be found using: wp help

Continue Reading