How to force SSL with .htaccess

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; } If you are using WordPress, you may want to use a plugin instead. These plugins can be found using your favorite search engine, An example plugin is Really Simple SSL.   If using WordPress, once you have the SSL redirection enabled, you will need to have a developer update the code if you are getting… Read More

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

Restoring Individual Files or Directories Using the File and Directory Restoration Tool in cPanel

Click the File and Directory Restoration icon. Click a filename or directory to retrieve its backups. If restoring a backup of a file, locate the desired backup and click the Restore This Version button next to the file. If you wish to restore the entire directory, click the Restore This Directory button. Repeat for each file or directory you need to restore.

Continue Reading

How to protect your content from hotlinking in cPanel

Hotlink protection prevents other websites from directly linking to certain files (typically images) on your website. You’ll want to prevent this if you have copyrighted images, or to simply save on bandwidth usage. Click the Hotlink Protection icon. Enter the Hotlink Protection confiurations: Verify that all domains and subdomains that you want to be able to Hotlink to your files or images are in the URLs to allow access field. If any are missing add them. Enter all the file types you want to protect and check the Allow direct requests box if you want to give the ability to manually enter URLs of a protected file. NOTE: You must select the “Allow direct requests” checkbox… Read More

Continue Reading

How to setup autoresponders In cPanel

Click the Autoresponders icon. Select the domain you want to create an autoresponder for from the Managing dropdown menu. Click the Add Autoresponder button. Enter the the information for your autoresponder in the appropriate field: Enter the interval between responses NOTE: An interval of 8 hours means the autoresponder cannot send more than 1 email to an address within an 8 hour period.  Enter the email address prefix of the email for which you are creating the autoresponder Enter the Name of the email owner or who the email is from Enter the subject to be sent Add the body of your email Select a start date and time or… Read More

Continue Reading

How to Set The Default Email Address in cPanel

IMPORTANT: If you want to set a custom default email address using your domains email server, you will need to create a new email address (e.g. default@mydomain.com) before following the steps in this article.  Click the Default Address icon. There are three basic steps needed to set a Default Address in cPanel. Select the domain or subdomain for which you wish to create a new default address from the dropdown menu. Select the radio button next to the Forward to Email Address option. Enter the email address you want as your new default address. NOTE: Currently your default address is set to our account name (e.g. mydomain), meaning all unrouted emails… Read More

Continue Reading

How to setup cron jobs in cPanel

WARNING: You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job. Click the Cron Jobs icon in the Advanced panel. Enter the email address where you want the cron job results sent after each time it runs. Define when and how often you want your cron job to run. You can choose the common settings from the dropdown menus or enter these manually. NOTE: When choosing a common setting, all fields are filled in automatically. This can help you understand what each field means. Next, enter the command of the script you want… Read More

Continue Reading

How to Password protect a directory in cpanel

Click the Directory Privacy icon. Select the directory you want to password protect by clicking its name or click the folder icon to see directories within the main directories. Check the Password Protect box, then create a name for the directory to be protected (this does not need to be the same as the directory name), and click Save. IMPORTANT: When a user attempts to access the protected directory through a browser, the site will prompt them to enter a username and password. The name that you choose for the protected directory will also display. You will now need to create a username and password to be able to access the directory. On the same page… Read More

Continue Reading