Category Archives: Homeschool

How To Check The Health & Security Issues On Your WordPress Site?

WordPress provides you with a tool that is essential for maintaining your website’s health. On your dashboard, the Tools -> Site Health section provides an overview of your site’s performance and security status. It helps ensure that your site runs optimally by checking for issues like outdated software, missing security features, or misconfigurations.

  1. Status: Lists critical and recommended improvements.
  2. Info: Provides detailed server and site information such as PHP version, themes, and plugins.
  3. Debugging: Helps identify potential problems.
  4. Performance: Suggests ways to improve loading speed.
  5. Security: Highlights areas to enhance security such as HTTPS, file permissions, etc.

The page shows information about your WordPress configuration and items that may need your attention. On the top it shows critical issues that may have a high impact on the performance or security of your site, resolving these issues should be prioritized.

It also recommends some improvements, these are basically the tasks that are considered beneficial to your site, although not as important to prioritize as a critical issue, they may include improvements to things such as the performance and user experience of your website.

How To Quickly Start A Website On Your Domain Name?

Here are the simple steps to register a domain name, subscribe to cPanel hosting, install WordPress, and manage your site on Sangkrit.net:

  1. Register Domain: Visit Sangkrit.net, search for your desired domain name, and complete the purchase.
  2. Subscribe to cPanel Hosting: Subscribe to a cPanel hosting plan during domain registration when the system prompts you to add hosting.
  3. Access Your Hosting: Navigate to your account’s ‘My Products’ section and click ‘Setup’ next to your hosting to enter your domain name. Next, click ‘Manage’ to access your hosting’s cPanel.
  4. Install WordPress via Installatron: On cPanel, navigate to Installatron, select WordPress, and install it.
  5. Manage Website from WordPress Admin: After WordPress installation, click the admin URL to access the admin dashboard and manage your website content.

You can access your WordPress dashboard by visiting yourdomain.com/wp-admin, and logging in with the credentials you created during installation. From the WordPress admin area, you can customize your site, install themes, add plugins, and create content.

How To Easily Create Responsive Google Ads?

As we have discussed in one of our lessons you need to keep basic images of aspect ratio (square, landscape, and logo images) in hand before you start creating a responsive Google Ad.

Apart from images, you will need:

  1. At least one short headline of 30 characters or fewer. This works as the first line of your ad.
  2. A long headline of 90 characters or fewer characters.
  3. At least one description. It is shown with the headline and asks people to take action.
  4. A business name which is simply the name of your business.
  5. A final URL. This is the website or the webpage where people will go after clicking on your ad. Don’t use any shorted or redirected URL here or your advertisement will be rejected.

Once you have the images, business name, headlines, description, and URL simply follow these steps and you will easily create a responsive Google Ad of your choice.

  1. Open your Google Ads account and click the Campaigns icon.
  2. From the section menu, select the Campaigns drop-down.
  3. Click on Ads.
  4. Click the plus button.
  5. Choose a Responsive display ad.
  6. Select the appropriate ad group.
  7. Click Images to upload your images and Logos for logo images.
  8. Fill in the ad details, including multiple headlines and descriptions for the responsive ad.
  9. Preview the ad and click Save.

Once you do that, your ad goes for a review by Google before it gets published online.

How To Auto Redirect Old Permalinks To New Ones In WordPress?

Changing WordPress default permalinks to a “Post Name” structure is crucial for better SEO, user experience, and readability. Default URLs in WordPress are often unattractive and not informative (e.g., ?p=123). By switching to post name permalinks, the URLs become more meaningful and descriptive (e.g., example.com/sample-post), which helps search engines understand the content better, leading to improved rankings.

Additionally, this format is more user-friendly, making it easier for visitors to remember and share, enhancing your site’s visibility and accessibility. But the problem occurs when you switch to a new permalink structure (Dashboard -> Settings -> Permalinks), your old links archived by search engines or shared on social media become a broken link to your website.

In this lesson, you will learn about auto-redirecting old permalinks to new ones. You can simply change your default WordPress permalinks, switch to SEO-friendly post-name permalinks, and then automatically redirect old permalinks to new ones in one click with the help of a plugin.

WP Permalink Redirect is a WordPress plugin that automatically process permalink redirection on your website. All you have to do is install-activate it and that’s all. The plugin has no configuration page, it immediately starts to work upon activation.

Upon activation, the plugin also removes duplicated content issues and redirects your visitors to the new permalink using a 301 i.e. permanently redirect status code. You can even confirm its working with Google webmaster tools. It also takes good care of website pagination of taxonomies like categories and blog lists to allow them to work normally on your WordPress site.

What Image Ratio & Dimensions Work For Google Ads?

In this lesson, you will get the easiest information on image ratio and sizes so that you can create your first Responsive Google Ad without any hassles.

To make a Google Ad you will need a minimum of three images:

  1. At least One Square Image of Ratio 1:1 – Maximum of 600 x 600 pixels and Minimum of 300 x 300 pixels
  2. At least One Rectangular (Landscape) Image of Ration 1.91:1 – Maximum of 1200 x 628 pixels and Minimum of 600 x 314 pixels
  3. At least One Logo Image of Ratio 1:1 – Maximum of 1200 x 1200 pixels and Minimum of 128 x 128 pixels or 4:1 – Maximum of 1200 x 300 pixels and Minimum of 512 x 128 pixels

The maximum file size for all images for Google Ads is 5120 KB, and they should be in GIF, JPG, or PNG file types. If your images are heavy then you can minify them online using some free service like Adobe Image Resize, which lets you both resize i.e. scale the image or minify it.

So first create some square, landscape, and logo images for your Google Ads, and then you will be able to create your first advertisement by following these steps:

  1. Open your Google Ads account and click the Campaigns icon.
  2. From the section menu, select the Campaigns drop-down.
  3. Click on Ads.
  4. Click the plus button.
  5. Choose a Responsive display ad.
  6. Select the appropriate ad group.
  7. Click Images to upload your images and Logos for logo images.
  8. Fill in the ad details, including multiple headlines and descriptions for the responsive ad.
  9. Preview the ad and click Save.

Once you do that, your ad goes for the review.

How To Remove The Tag Base From WordPress Permalinks?

You can remove the base tag slug in the WordPress permalinks structure. Earlier this was done with the help of a plugin or PHP function but now you can do it from your admin area dashboard.

By default the tag URL on WordPress looks something like this – yourdomain.com/tag/tag-name, now we have to remove the tag from the permalink so that URLs should look something like this yourdomain.com/tag-name/.

These steps allow you to remove the tag prefix completely by modifying your site’s permanent link settings.

  1. Navigate to your WordPress dashboard
  2. Navigate to Settings -> Permalinks page
  3. Scroll to Custom Structure and put ‘/%tag%/%postname%/’.
  4. Go to Tag Base and type in a dot “. “
  5. Save your changes.

The tag prefix is removed by typing the dot in the tag base field. It completely removes the mandatory tag base from the tag permalinks, so the tag name comes right after your domain name in the permalink structure.

By default, this field is left blank which represents the default prefix.

How To Remove The Category Base From WordPress Permalinks?

You can remove the base category slug in the WordPress permalinks structure. Earlier this was done with the help of a plugin or PHP function but now you can do it from your admin area dashboard.

By default the category URL on WordPress looks something like this – yourdomain.com/category/category-name, now we have to remove the category from the permalink so that URLs should look something like this yourdomain.com/category-name/.

These steps allow you to remove the category prefix completely by modifying your site’s permanent link settings.

  1. Navigate to your WordPress dashboard
  2. Navigate to Settings -> Permalinks page
  3. Scroll to Custom Structure and put ‘/%category%/%postname%/’.
  4. Go to Category Base and type in a dot “. “
  5. Save your changes.

The category prefix is removed by typing the dot in the category base field. It completely removes the mandatory category base from the category permalinks, so the category name comes right after your domain name in the permalink structure.

By default, this field is left blank which represents the default prefix.

Alternatively, you may add the following rule in .htaccess file present in the root directory of your website :

RewriteRule ^category/(.+)$ https://www.yoursite.com/$1 [R=301,L]

This also removed the category base, don’t forget to replace yoursite.com with your domain. The same can be done with the help of the Yoast SEO plugin. If you are using it on your website simply navigate to Yoast SEO -> Search Appearance and open the ‘Taxonomies’ tab.

Scroll to the Category URLs, select ‘Remove the categories prefix’, and save the changes.

How To Display Outdated Content Alerts With Old Post Notice In WordPress?

The Old Post Notice plugin is a valuable tool for WordPress users managing blogs with large archives. It helps notify visitors when viewing older posts that might contain outdated information. This feature can significantly enhance the user experience, ensuring readers are aware that the content they’re consuming may no longer be current, which is especially important for tech, news, or product blogs that update frequently.

The plugin offers several features that provide flexibility and control over how notices appear on older posts:

  1. Customizable Notices: You can set your own notice text to inform users about a post’s potential outdatedness. This customization includes options for color schemes (background and text) and where the notice appears—above or below the content.
  2. Post Age Settings: You decide how many days old a post should be before the notice is triggered. This allows you to target only significantly older posts while keeping recent articles clear of notices.
  3. Published vs. Modified Date: The plugin lets you choose whether the notice is based on the post’s original publish date or the last modified date. This is useful if you frequently update older posts with fresh information.
  4. Built-in and Custom Styling: It includes a default styling option, but advanced users can disable it to apply their custom CSS.
  5. Control Over Activation: You can easily enable or disable the notice without losing your settings.

How to Use Old Post Notice Plugin?

Once you install and activate the Old Post Notice plugin, follow the given steps of configuration:

Step-1 Navigate to Settings -> Old Post Notice in your WordPress dashboard.

Step-2 Enable the notice by ticking the option. You may customize the notice text, choose the number of days to trigger the notice, and decide whether it’s based on the post’s published or modified date.

Step-3 Adjust the styling options, such as the background and text colors, or apply custom CSS if desired. Then save your changes.

    The notice will automatically display on all posts that meet the given age criteria.

    The plugin lets you keep your blog relevant and transparent, ensuring that your readers are informed about older content. This adds credibility to your site and helps manage user expectations.

    How To Set External Links To Open In A New Tab In WordPress?

    It is easy to link a word and set its target to blank so that it opens in a new tab. Most website owners want to make all external links open in a new window and all internal links open in the same tab, you can make this thing easy and automatic with the help of a plugin.

    Simply install and activate Open external links in a new window on your WordPress site. Once the plugin is activated, navigate to your admin area dashboard Settings -> External Links page.

    By default, the plugin makes all external links open in a new tab but on its settings page, you can type URLs that should either be forced to open in a new window or ignored. Some of the basic features of this plugin include:

    1. It opens up all (or specific) external links in a new window
    2. It produces XHTML Strict compliant and is search engine optimized (SEO)
    3. It can can open external links starting with http:// or https:// in a separate browser window or tab
    4. It handles the links client-side, which lets search engines follow the links properly
    5. It becomes inactive when a browser does not support JavaScript, and hence doesn’t result any errors

    If you need more advanced features, there is another free plugin called WP External Links. This plugin lets you manage all external and internal links on your website by enabling you to control icons, nofollow, no opener, UGC (User Generated Content), sponsored, and yes if links open in a new window or new tab.

    How To Make All Links (Internal & External) Open In New Tab In WordPress?

    You can set all links (internal and external) on your WordPress website to open in a new tab.

    By default all WordPress links open in the same tab, although there is an option in the links box to set specific links to open in a new tab, you can do that while adding a new link in your post or page content. But to make all the links open in a new browser tab, you simply need to add a few lines of JavaScript code to your website which can be done by activating the following plugin.

    The WordPress plugin Open Links In New Tab automatically sets links to open in a new tab. You simply need to install and activate it on your website and that’s all. The plugin provides you an option if you want to set only external links to open in a new tab, or just internal links in a new tab, or both.

    This plugin works by adding a few JavaScript code lines on your website, it doesn’t depend on any external library and doesn’t even require jQuery, which is the most common JavaScript library.

    How To Open WordPress Navigation Menu Links In A New Tab?

    The navigation menu links are the links you display in your website’s menu bar. Managing WordPress menus is easy, its default interface allows you to add menu items from various filters of your website, rearrange them with drag and drop interface, and set their navigation label and title attribute.

    However, some advanced options can be enabled from the ‘Screen Options’ tab present in the top right corner of the menu admin screen. In this lesson, you will see how to make some menu links to open in a new tab.

    Visit your WordPress admin area dashboard and navigate to Appearance -> Menus page. Now click the ‘Screen Options‘ tab and tick ‘Link Target‘ option visible in the ‘Show advanced menu properties’ section.

    This adds a new checkbox ‘ Open link in a new window/tab‘ option on each menu link added to your menu structure. Now all you need to do is tick that option on links that you want to open in a new tab.

    Click Save Menu to apply the updates. This will ensure the selected menu links open in a new tab.

    How To Open Navigation Menu Links In New Tab (Using Block Editor)?

    To open navigation menu links in a new tab in block themes in WordPress, follow these steps:

    1. Navigate to Appearance -> Themes to use the full site editor.
    2. Click on the header section, then select the Navigation Block where the menu is located.
    3. Use the ‘+’ icon to add a link or edit an existing one.
    4. Toggle the option for ‘Open in new tab’ to ON.
    5. Save your changes by clicking the ‘Submit‘ button and then ‘Save’ button at the top.

    You can also open all external links on your website automatically in a new tab or window with the help of a plugin. You will learn about it in the next lesson.

    How To Find & Remove Broken Links In WordPress?

    Broken Link Checker is a popular WordPress plugin that lets you identify and fix broken links on your website. A broken link, also known as a dead link, can negatively impact both user experience and SEO rankings. This plugin scans your website content—posts, pages, comments, etc to detect any non-working URLs, images, or embedded media like YouTube videos that may have been removed or relocated.

    To start removing broken links using the Broken Link Checker plugin on your WordPress site, simply follow these steps:

    1. Install & Activate the Plugin: Install Broken Link Checker from the Plugins -> Add New page and activate it.
    2. Scan for Broken Links: The plugin will automatically begin scanning your site for broken links. You can monitor the scan in your WordPress dashboard under the Link Checker page.
    3. Fix or Remove Links: Once broken links are detected, go to the Broken Links page. You can either: Update the broken link, remove it, or dismiss that it’s not an issue.
    4. Bulk Actions: The plugin allows you to fix multiple links at once using bulk actions for faster management.

    By following these steps, you can keep your WordPress site free from broken links, ensuring a better user experience and preserving SEO rankings.

    The plugin does real-time monitoring and also sends you email as it finds any dead links on your website. You can fix or remove the link from the plugin’s interface.

    How To Add Product Videos In WordPress WooCommerce Website?

    You can add videos to describe or promote your products at your WordPress eCommerce store. This enhances the shopping experience and helps showcase product features effectively.

    Woocommerce allows anyone to build an online shop without technical skills. All you have to do is register your domain name, subscribe WordPress, and install the WooCommerce plugin. Then you can manage your website from its admin interface.

    This lesson will guide you on adding single or multiple videos on any product to its linked featured image or product gallery.

    WPC Product Videos for WooCommerce

    To start you will need to install-activate a WordPress plugin called WPC Product Videos for WooCommerce. Upon activation, open the product you want the video to be added or you can do this while adding a new product.

    The product admin page will show you a newly added field for the video URL, this is next below the featured image section. Simply paste your video URL there and update or publish your product. It boosts product presentation and can improve conversions.

    The plugin works for YouTube and Vimeo videos. Alternatively, you can upload your video from your WordPress Media Library and use then its URL.

    Product Video Gallery for WooCommerce

    Product Video Gallery for WooCommerce is another plugin that allows you to enhance product pages by adding videos to the product gallery. It supports various video formats like YouTube, Vimeo, or self-hosted videos, making it easy for you to display your product through engaging visuals.

    Simply install and activate it on your website and then navigate to Products -> WC Product Video, now tick the checkbox to configure a setting, and then save your changes. The plugin usage is quite simple, to add a video to your product: open the edit product page and insert your product YouTube video URL in {Product Video Url} field. That’s it.

    This plugin lets users upload multiple videos alongside product images, creating a dynamic gallery. It also integrates smoothly with WooCommerce themes, providing a more interactive shopping experience for customers.

    How To Clean Unnecessary Tables From MySQL Database?

    Cleaning unnecessary database tables means deleting tables that were created before by some plugin and now are not in use on your website. Removing such tables lightens up your MySQL database. In this lesson, you will learn about cleaning up a database manually and with plugins’ help.

    Before making any changes, always ensure and be careful when deleting database tables, as removing the wrong ones can break your WordPress site. Always keep a full WordPress database backup.

    Step-1, access your hosting’s cPanel and locate the phpMyAdmin option under the Databases section. Click on it to access the database management interface.

    Step-2 In phpMyAdmin, find your WordPress database on the left-hand side panel. Click on the name of the database to view the tables it contains.

    Step-3 Now identify unnecessary tables. Unnecessary tables might come from uninstalled plugins or themes. Tables that don’t seem to match the standard WordPress table names like wp_posts, wp_users, or wp_options may be safe to delete. Some tables have a prefix based on the name of a plugin (e.g., wp_woocommerce_* for WooCommerce).

    Step-4 Once you identify the tables you no longer need, select them by checking the box next to each table. Then, scroll down and choose Drop from the options in the dropdown menu. Confirm the deletion.

    Automatically Identify & Clean MySQL Database Tables

    Alternatively, You can clean your database with a plugin. Plugins such as WP-Optimize or Advanced Database Cleaner let you automatically identify and clean up unnecessary tables without manually going into phpMyAdmin.

    These WordPress plugins provide you with an easy way to clean up unnecessary database tables from your WordPress site.

    What Are the Standard WordPress Database Tables? A Breakdown Of Core WP Tables

    A standard WordPress installation creates a set of database tables that store various types of data, such as posts, users, comments, and settings. Apart from this plugins create their tables and some themes may also do that, but deactivating such plugins and themes leaves their tables on your website clattering your database.

    In this lesson, you will learn about the main 12 standard WordPress database tables so that whenever you like to clean up your database you don’t disturb the core tables that are the life-line of your WordPress site.

    1. wp_posts – Stores all content types like posts, pages, revisions, and custom post types.
    2. wp_postmeta – Contains metadata (custom fields) for posts, such as additional information like SEO settings or image data.
    3. wp_users – Holds information about all registered users, including username, password, email, and user roles.
    4. wp_usermeta – Stores additional metadata about users, such as permissions, preferences, and profile information.
    5. wp_options – Contains various site-wide settings such as the site URL, admin email, time zone, and installed plugins.
    6. wp_terms – Stores the categories, tags, or any custom taxonomies used to classify content.
    7. wp_term_taxonomy – Describes the taxonomy (e.g., category, tag) for each term from the wp_terms table.
    8. wp_term_relationships – Links posts, pages, or custom post types to their respective terms (categories, tags).
    9. wp_comments – Stores comments on posts and pages, including comment content, user details, and approval status.
    10. wp_commentmeta – Contains metadata about comments, such as IP addresses, ratings, or spam status.
    11. wp_links – Used to manage the blogroll feature, which is now deprecated but still exists in older versions.
    12. wp_actionscheduler_actions (optional in newer WordPress versions) This is used to store scheduled actions or cron jobs, commonly created by WooCommerce and other plugins.

    Each table uses a default prefix of wp_.

    While installing WordPress manually on your hosting account, a step asks you to enter the database name, database username, database user password, and host and the last field asks for the table prefix which by default is wp_.

    This wp_ is the table prefix. this can be changed during installation to enhance security (e.g., mywebsite_) and it also lets you host multiple websites on a single database.

    To change the table prefix while installing WordPress using Installatron, in the “Advanced Settings” section, you’ll find an option for “Table Prefix.” By default, the table prefix is set to wp_, but you can modify this to a unique prefix, such as mywebsite_ or any combination of letters and numbers for added security.

    After entering your desired prefix, continue with the installation process as usual. This change helps secure your site by preventing common SQL injection attacks that target the default table prefix.

    How To Run Multiple Websites In One Database?

    Some low-cost hosting options offer you one or a limited amount of MySQL databases. But do you know that you can run multiple websites in one database, and all websites will work independently without affecting the content and logins of other websites running on the same database.

    You can also install different CMS or applications on the same database. For instance, WordPress and MediaWiki can run on a single database without affecting each other.

    Running multiple websites in a single database is possible by using table prefixes or customizing your database structure. Here’s how you can set it up, especially if you are using a CMS like WordPress.

    While installing WordPress manually on your hosting account, a step asks you to enter the database name, database username, database user password, and host and the last field asks for the table prefix which by default is wp_. This wp_ is the table prefix.

    So all you have to do instead of using wp_ you have to use a different table prefix for every new website on your database.

    For example,

    When you install a CMS like WordPress, you can specify a table prefix during installation. If you want to run multiple websites in one database, use different table prefixes for each website. For example:

    • Website 1: wp1_
    • Website 2: wp2_

    This way, the tables for each website will be separated within the same database.

    For easy remembrance you can use wp1_ , wp2_, wp3_, wp4_ and so on. Not only WordPress but you can install any CMS by using a different unique for each website you install on your database.

    For non-CMS-based websites, you can manually create separate tables for each website within the same database.

    For example, you can create tables for:

    • website1_users
    • website2_users
    • website1_posts
    • website2_posts

    Alternatively, installing a WordPress multisite network is an advanced way of making multiple WordPress sites on the same database. Its main advantage is that you don’t have to install WordPress separately for every new website you create.

    Simply add the following line to your wp-config.php file:

    define( ‘WP_ALLOW_MULTISITE’, true );

    Now log in to your WordPress dashboard and navigate to Tools -> Network Setup to configure it.

    By implementing these methods, you can efficiently run multiple websites in one database without needing separate databases for each.

    How To Restore MySQL Databases Using cPanel?

    In the previous lesson, you learned how to easily generate and download MySQL database backups anytime from the cPanel. Next is how to restore them.

    To restore a MySQL database from cPanel, you need to follow these steps:

    Step 1: Log into cPanel

    Open your browser and log into your cPanel account by entering your username and password.

    Step 2: Access the Backup Feature

    Once logged in, scroll to the Files section on the cPanel dashboard. Click on Backup or Backup Wizard.

    Step 3: Choose the Database Restore Option

    Under the Restore a MySQL Database section, locate the Restore a MySQL Database Backup option. Select this to begin the process.

    Step 4: Upload Your Database Backup

    Click the Choose File button and select the .sql or .gz backup file you downloaded. After selecting the file, click on Upload or Restore to initiate the restoration process.

    Step 5: Completion

    Once the file is uploaded, cPanel will automatically restore your database. As soon as the restoration is complete, you will receive a confirmation message.

    By following these steps, your MySQL database will be successfully restored in cPanel.

    How To Backup & Download MySQL Databases Using cPanel?

    You can easily generate and download MySQL database backups anytime from the cPanel, by following these steps:

    Step 1: Log into cPanel

    Open your browser and log into your cPanel account by entering your username and password.

    Step 2: Access the Backup Feature

    Once logged in, navigate to the Files section on the cPanel dashboard. Click on Backup or Backup Wizard, both of which allow you to back up your database.

    Step 3: Choose the Database Backup

    If you’re using the Backup Wizard, choose the option to back up a specific part of your site. Under the Partial Backups section, locate the Download a MySQL Database Backup option. A list of databases will appear; select the name of the database you wish to back up.

    Step 4: Download the Backup

    After selecting the database, the backup process will begin automatically. Your browser will prompt you to download the .sql or .gz file. Save the backup file to your local computer.

    This backup file can be used for future database restoration.

    Wildcard & Multi-Domain SSL Certificates: Which One Do You Need?

    A Wildcard SSL Certificate and a Multi-Domain SSL Certificate (SAN or Subject Alternative Name certificate) allow you to secure multiple websites or subdomains under a single certificate. Here’s an explanation of each.

    Wildcard SSL Certificate

    A Wildcard SSL certificate is designed to secure a domain and all its subdomains.

    For example, if you have a Wildcard SSL for *.example.com, it will secure the main domain, example.com, as well as any subdomains such as blog.example.com, shop.example.com, and other subdomains like mail.example.com. This makes it ideal for businesses or website owners managing several subdomains under one domain, ensuring that all of them are encrypted without needing separate certificates.

    Multi-Domain SSL Certificate (SAN Certificate)

    A Multi-Domain SSL, or SAN SSL, is meant to secure multiple distinct domain names within a single certificate. It can cover different domains, subdomains, or even various domain extensions.

    For example, one SAN certificate could secure example.com, example.net, shop.example.org, and anotherdomain.com. This type of SSL is useful for businesses or individuals managing multiple domains or websites, allowing them to secure each domain or subdomain without purchasing separate SSL certificates.

    The main difference between the two is that Wildcard SSL focuses on securing all subdomains of a single domain, whereas Multi-Domain SSL allows for securing multiple different domains and subdomains with one certificate.

    Another important thing you should know is that all multi-domain SSL certificates are wild-card compatible but not all wild-card certificates are multi-domain compatible so choose wisely.

    Benefits of These SSL Certificates

    Both Wildcard and Multi-Domain SSL certificates are cost-effective, reducing the need to purchase and manage multiple certificates. They also simplify the management process, as you only need to handle one certificate instead of several, especially when it comes to renewals.

    Apart from this, both certificate types ensure that all domains and subdomains under the certificate are encrypted and secure, enhancing the security of your web presence.

    Whether you need to secure multiple subdomains or entirely different domain names, Wildcard and Multi-Domain SSL certificates offer convenient and flexible solutions to ensure that your websites remain secure.

    Which SSL Do You Need?

    The choice between the two comes down to whether you’re primarily securing subdomains of a single domain or need to cover multiple domains. If your focus is securing multiple subdomains under one main domain, a Wildcard SSL is the best fit.

    However, if you need to secure entirely different domains, then a Multi-Domain SSL is the solution. Both options offer robust security but are tailored for different needs. You can easily subscribe to your choice of SSL certificate from here.

    Reasons Why Your Website Displays ‘Not Secure’ SSL Warning

    A “Not Secure” warning on your website typically appears when the website does not have an SSL, the SSL is invalid, or is not properly configured. This lesson lists various reasons why your website may show such types of warnings on certain web browsers.

    You Have No SSL Certificate

    If you have not yet subscribed to an SSL certificate and your website is using HTTP instead of HTTPS then most browsers will show a “Not Secure” warning on your website. The main reason behind this is HTTP connections are not encrypted, leaving data vulnerable to interception.

    How To Fix It? Subscribe and install an SSL certificate on your website.

    Your SSL Certificate Is Expired

    If your SSL certificate has expired, the browser will treat the website as insecure and show the warning, even though you had HTTPS enabled before.

    How To Fix It? Renew expired SSL certificates promptly.

    Mismatched Domain SSL Certificate

    If your SSL certificate is not properly configured to match your domain (e.g., you installed the certificate for example.com but visitors are accessing www.example.com), a warning will be triggered.

    How To Fix It? You may either subscribe to a multi-domain wildcard SSL certificate or force all traffic to the correct version of your website and set up a redirect using .htaccess or server configuration.

    If you realize that your SSL certificate was issued for the wrong version of your domain, request a reissue from your Certificate Authority (CA).

    Mixed Content

    Even if your site uses HTTPS, if some elements like images, scripts, or stylesheets are loaded over HTTP, browsers will show a “Not Secure” warning due to the mixed content.

    How To Fix It? Ensure all links, images, and scripts on the site are loaded over HTTPS to avoid mixed content warnings. Use a plugin such as Really Simple SSL to fix insecure content warnings.

    Untrusted Certificate Authority (CA)

    If your SSL certificate was issued by a Certificate Authority (CA) that is not trusted by major browsers, or if it’s self-signed, the website will be flagged as “Not Secure.”

    How To Fix It? Subscribe your SSL certificate from a trusted authority.

    How To Enforce HTTPS (SSL) URLs On Your Website?

    SSL securely transforms data from the client to the server by adding encryptions. Before it was used to protect transactions and customer data, but now it has become Google’s official Internet ranking factor.

    Once you subscribe and install SSL on your website, the website starts using both HTTP and HTTPS URLs which means visitors landing on HTTP from old links such as old search archives or links on other websites will continue to land on HTTP. Whereas visitors using the new HTTPS will get HTTPS. Here you will need to make sure that all visitors must land on secure HTTPS URLs of your website and that can only be done by enforcing SSL all over your website.

    To force your website to use HTTPS on all links you will need to redirect HTTP to HTTPS and there are various methods of doing this.

    Redirecting HTTP To HTTPS Via cPanel

    1. Simply log in to your hosting account and open cPanel.
    2. In cPanel, navigate to ‘Domains’ and toggle the “Force HTTPS Redirect” option for your domain.

    Redirecting HTTP To HTTPS Via .htaccess File

    Another way of enforcing SSL is by adding a few lines of code in .htaccess file which is located in the root directory of your website.

    1. Log in to your hosting account and open cPanel.
    2. Navigate to cPanel -> File Manager
    3. Open Public_HTML and then the directory where your website is located. If your website is on the main domain i.e. yourdomain.com then it would be located in the Public_HTML directory itself.
    4. Add the following code and save the file.

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    Or, for forcing SSL over one specific domain name use this code:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.url.com/$1 [R,L]

    Or, for forcing SSL over some such as domain.com/subdir. First, create a new .htaccess file in that specific directory and then add the following code:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteCond %{REQUEST_URI} subdir
    RewriteRule ^(.*)$ https://www.url.com/subdir/$1 [R,L]

    If you see some existing code in your .htacess file then add these lines on the top where rules start with similar prefixes.

    By default .htaccess is kept as a hidden file so if don’t find it on your cPanel hosting’s file manager then click the ‘Settings’ icon (visible on the top right corner of the file manager) and tick ‘Display hidden files’ option.

    And if you don’t find any .htaccess file in the file manager then probably your website is not using such .htaccess file. In that case, simply create one by naming it .htaccess and then open it for editing.

    Don’t forget to change domain.com with your own domain name and SUBDIR with the name of the sub directory where you want to force an HTTPS connection.

    Redirecting HTTP to HTTPS In WordPress

    WordPress users may simply use a plugin called Easy HTTPS Redirection (SSL). The plugin lets you automatically set up a redirection to the HTTPS version of a URL when anyone tries to access the old HTTP version.