Login

How to force www or non-www for a cPanel site

It is recommended by Google that your site is only accessible via either www or without www (and NOT both). As such, you should configure a redirect to force one or the other.

We provide a simple facility for doing this…

  1. Login to cPanel
  2. Go to ‘Nginx Cluster Control’ section and select ‘CLOUDNS’
  3. Select the domain you wish to enable the protection for from the dropdown list and click ‘Configure’
  4. Select ‘Application Settings’
  5. Select the preferred option from the ‘www redirection’ dropdown
  6. Click ‘Submit’

Note: If you are using WordPress, you will need to ensure your correct domain (with or without www.) is added to the Settings -> General screen.

Installing a free SSL certificate in cPanel using LetsEncrypt

Installing an SSL certificate in cPanel is easy! Best of all, its free with Abollyhost.

Note: Installing a certificate does will not force your browsers to visit the site via https:// – to do this, you would need to see our ‘How to force your site to use SSL (https) using cPanel‘ guide.

LOCATING THE PLUGIN

Find the “Let’s Encrypt™ for cPanel” icon in the “Security” category, or by searching for “Let” or “ssl” in the top search bar:

The very first time you visit this page may take a few seconds, as it will register an anonymous account key with the Let’s Encrypt™ CA.

THE INTERFACE

The interface is split into two sections.

The first section will list all of your domains that have “Let’s Encrypt™” certificates issued, their expiry, and options to remove, reinstall and view them:

The second section will list all of the domains configured in your account that are eligible to have a certificate issued for. Please note, redirected domains are unable to have a certificate issused.

ISSUING A NEW CERTIFICATE

Prerequisites#

There are two important prerequisites to be met in order for a certificate to be able to issued:

  • The domain name(s) you want signed must be pointing to this cPanel server already
  • The Let’s Encrypt™ CA must be able to visit http://your-domain/.well-known/acme-challenge/xxx successfully.

These directories/files will be created automatically, but you should take care that you do not have any .htaccess rules that prevent access.

Most users will fulfil these requirements automatically.

Issuing Process

First, click the + Issue button to the right of the domain you wish to issue a certificate for. Please note, any you will be able to select any extra domains to include on the certificate in the next screen.

Ensure that all of the domains you wish to include in this certificate are selected as included and click ‘Issue’. The process may take anywhere from 10 to 45 seconds, so do not navigate away from the page.

At completion, the keys and certificates should be installed on the server, with a success message:

If you receive an error message, please check Troubleshooting.

RENEWING CERTIFICATES

Certificate renewal is automatic in the background.

Your certificate will be attempted to be renewed every day from the point it is 30 days from expiring.

The prerequisites listed above for issuing must still be met during the renewal attempts, or the attempts will fail.

You will receieve an email for any attempt to renew, be it successful or failed, to the email account attached to your cPanel account.

REINSTALLING CERTIFICATES

The certificate can be reinstalled at any time through the “Reinstall” action. Possible reasons for reinstalling can be enabling SSL for mail servers post-issuing, or if the certificate was removed from the SSL/TLS manager.

The status column will show the current status of the certificate on the system. If for any reason the certificate was removed from the SSL/TLS manager without being removed from the Let’s Encrypt™ plugin page, this status column will display “Uninstalled”.

REMOVING CERTIFICATES

To uninstall a certificate, it is best to press “Remove” on the Let’s Encrypt™ for cPanel plugin page, rather than doing through the SSL/TLS Manager that comes with cPanel.

This is because our uninstall process also removes the key and certificate from the manager, in one click.

Please note that uninstalling a certificate will not revoke it at the Let’s Encrypt™ CA.

You may wish to back up the private keys before you perform any uninstallations, as they are irretrevable, and you will require them if you want to use any of your previous certificates again.

CONFIGURATION FILE

All configuration and certificates are stored in ~/.cpanel/nvdata/letsencrypt-cpanel. We recommend you keep a backup copy of this file.

How to Add Tables in WordPress Posts and Pages (No HTML Required)

How to Add Tables in WordPress Posts and Pages (No HTML Required)

Tables are an important tool to sort and present data in an understandable format. Even though you can create tables by manually writing HTML and CSS inside your posts, it is not a feasible option for many specially if they lack the HTML and CSS knowledge. In this article, we will show you how to add tables in WordPress posts and pages. Best of all, you don’t need to know any HTML or CSS to add tables in WordPress using this tutorial.

A CSS/HTML Table inside a WordPress Post

 

First thing you need to do is install and activate TablePress plugin. Once activated, the plugin adds a TablePress menu item in your WordPress admin.

TablePress Menu

To create a new table click on Add New Table. This will take you to Add Newtab. After giving your table a name and description, choose the number of rows and columns you need. Don’t worry, you can always add/remove columns and rows from your table when entering data or by editing the table later.

PLEASE CHECK What’s wordpress and it’s uses in CMS

Click Add Table button when you are done.

Adding a new table

Now you will reach Edit Table screen. This is the table editor where you can add data to your table. You can also add and remove columns or rows. All rows and columns can be dragged and rearranged. Once you have created the table, it is time to add this table into a post.

First Steps With WordPress After Finishing The Installaion

Open an existing post or create a new post to enter the table. If you are using the visual editor, then you will see the tables icon in your visual editor. Pressing the button will open a pop up showing your tables. Press Insert Shortcode button next to the table you want, and it will add a shortcode to your post.

Add table button in visual editor

If you do not use the visual editor, then you can simply insert the shortcode manually. Click on the TablePress menu item, and it will show you the list of tables you have created. Take your mouse over to the table you want to add. Click on Show Shortcode, and this will open a pop-up window with the table shortcode. Copy the shortcode and paste it in your post wherever you want to insert the table.

Get table shortcode to add in posts

That’s it. It is this easy to create and add tables in your WordPress posts. You don’t have to write a single line of HTML or CSS. If you want to customize the look and feel of the table, then there is an option for that (you would need to customize the CSS for this part).