Skip to content

How to Check HTTPS and Canonical Settings Before Launching a New Website

Before a new site goes live, confirm that HTTPS works on every address and that each page points to one preferred URL. Here is a step-by-step check you can run yourself.

10 min readUpdated Nov 28, 2026By XPASS Editorial Team

How to Check HTTPS and Canonical Settings Before Launching a New Website

A new website can look perfect on your own screen and still launch with problems that nobody notices until visitors or search engines run into them. The padlock may be missing on the www address. The old http address may stay reachable beside the https one. Two or three URLs may show exactly the same page. None of these are dramatic failures, but together they cause warnings, confusing analytics and diluted signals. This guide shows how to check HTTPS and canonical settings step by step before launch, using only a browser and a few ordinary tools.

Why the pre-launch check matters

Every page on your site can usually be reached through more than one address. The same page might open at http or https, with or without www, with or without a trailing slash, and sometimes with tracking parameters added. To a person these look like the same page. To a search engine they are separate URLs, and it has to decide which one to show.

If you do nothing, the crawler makes that choice for you, and it may not choose the version you prefer. Links from other sites, social posts and your own menus can end up split across variants. Google's SEO Starter Guide explains that you can help search engines by being consistent about the URLs you use, and that is exactly what this checklist is for.

There is also a visitor side. A browser that shows a certificate warning, or a page that quietly switches from https to http, makes people stop. Fixing this after launch is possible, but it is easier and cleaner to settle it once, before the first real visitor arrives.

What HTTPS actually includes

HTTPS is the normal web protocol carried inside an encrypted connection. As Cloudflare's introduction to HTTPS describes, the encryption relies on a certificate that proves the server really belongs to the domain name in the address bar. When a browser connects, it checks several things.

  • Hostname match. The certificate must list the exact name you are visiting. A certificate for example.com does not automatically cover www.example.com or shop.example.com unless those names are included, or a wildcard certificate is used.
  • Validity dates. The certificate has a start and an end date. After the end date, browsers show a full-page warning.
  • Trusted issuer. The certificate must chain up to a certificate authority that the browser trusts. A missing intermediate certificate is a common cause of errors that appear on some devices but not others.
  • Modern protocol. The server should support current TLS versions. Very old protocol versions are rejected by current browsers.

Understanding this list tells you what to test. If you are still deciding which certificate type fits your site, see our SSL page for the options, and read which HTTPS type a payment website needs if you plan to take payments.

The six-step check

Work through the steps below in order. Each one builds on the one before it.

Step 1: List every address that must work

Before testing anything, write down every hostname and variant people could type or follow.

  1. The bare domain, for example example.com.
  2. The www version, www.example.com.
  3. Any subdomains you plan to use, such as shop, app or blog.
  4. The http form of each address.

Each hostname that visitors can reach needs a valid certificate. If you run a store for downloadable goods or a members area, the extra hostnames multiply quickly. Our articles on domain and SSL for a digital products store and on DNS and SSL for a membership site walk through those cases.

Also confirm the DNS records for each name point where you expect. A certificate cannot help if the hostname resolves to the wrong server. Keep this list; you will reuse it in the later steps.

Step 2: Test the certificate on each hostname

Open each hostname in a browser using https and look at the connection details. In most browsers you can click the padlock or the site-information icon, then view the certificate.

Check these items for every hostname on your list:

  • The page loads without a warning.
  • The certificate lists the hostname you typed, in its subject or alternative names.
  • The expiry date is comfortably in the future, and renewal is set up, either automated or on your calendar.
  • The issuer is a recognised certificate authority.

Do not test only on your own laptop. Try a phone on mobile data and a different browser. A server that is missing an intermediate certificate can look fine on one device and fail on another. Online certificate checkers can also report the full chain. If a hostname fails, fix it before moving on, because every later test assumes HTTPS itself works.

Step 3: Redirect http to https and choose one host name

Visitors and old links will still arrive at the http address, so it must send them to https. This is done with an HTTP redirect, a response whose status code tells the client to request a different URL. The meaning of these codes, including permanent redirects such as 301 and 308, is defined in RFC 9110.

Decide your preferred form now. For example, you may choose https and www as the single main version. Then set up redirects so that all other variants lead there:

Address typed Should end up at
http://example.com https://www.example.com
http://www.example.com https://www.example.com
https://example.com https://www.example.com
https://www.example.com stays as is

Two details matter. First, the redirect should be a single hop where possible. A chain of three redirects wastes time and can lose some crawlers along the way. Second, the redirect should keep the path. A request for /pricing should arrive at the https preferred address of /pricing, not at the home page. Test with real inner pages, not only the home page.

Step 4: Find mixed content

Mixed content happens when a page is served over https but loads an image, script, font or stylesheet over plain http. Browsers may block these resources or show a warning, so the page can look broken or lose its padlock.

To find it, open your main page templates in the browser, then open the developer tools and read the console messages. Mixed content warnings name each insecure resource. The usual causes are:

  • Hard-coded http addresses in templates or in text typed into a content system.
  • Images uploaded before the certificate was installed.
  • Third-party embeds or widgets that still use http links.
  • Links in menus or the footer that were written with the old address.

Replace each address with an https one, or with a relative path. After fixing, reload and confirm the console is quiet. Test pages that use special templates too, such as checkout, login and thank-you pages, because those are often built separately.

Step 5: Set the canonical tag on every page

A canonical tag is a line in the head of the page that names the preferred address for that page. It looks like a link element with the relation set to canonical and the full preferred URL as its target. It tells search engines which of several similar addresses should represent the content.

Follow these rules:

  1. Use the full, absolute URL including the https scheme and your chosen host name.
  2. Point each page to itself, unless you truly want a different page to be the main one.
  3. Use one canonical tag per page, in the head, not in the body.
  4. Do not point to a URL that redirects or returns an error.
  5. Keep the address in the tag identical to the address in your sitemap.

Canonical tags matter most where the same content has multiple addresses, for example product pages reachable through category filters, pages with tracking parameters, or print versions. The canonical points search engines to the clean version. Remember it is a hint, not a command, so it works best when the rest of your signals agree with it.

For a quick check, open the page source and search for the word canonical. Check the first few page types: home, an inner page, a product or article page, and a filtered or paginated page.

Step 6: Make the other signals agree

The redirect, the canonical tag and everything else should name the same preferred address. Check these places:

  • Sitemap. Your XML sitemap, described in the Sitemaps protocol, should list only canonical https URLs, with the preferred host. Do not include redirected or blocked pages.
  • Internal links. Menus, buttons and in-text links should use the preferred address, so that visitors and crawlers do not depend on redirects for every click.
  • Robots file. Make sure the file at /robots.txt is not blocking the whole site by accident. Staging sites often carry a block that must be removed on launch day. Read the file and confirm that nothing important is disallowed.
  • Language and social tags. If you publish in several languages, each language version should reference the others consistently. Open Graph and social preview addresses should use the preferred URL.
  • Analytics and search tools. Register the preferred version of the site in the search tools you use, and make sure analytics shows one hostname rather than several.

The point is agreement. If the sitemap says one address, the canonical tag says another and internal links use a third, you are asking the crawler to guess.

A worked example

Imagine a small studio launching a new site for its design courses. It owns example-studio.com and decides on https with no www as the preferred form.

  1. List. Hostnames: example-studio.com, www.example-studio.com and learn.example-studio.com, plus the http versions.
  2. Certificate. The first certificate covers only the bare domain. On testing, the www address shows a name mismatch warning. The team reissues a certificate that includes all three names and checks the expiry date.
  3. Redirects. They set http and www to redirect once to https without www. A test of /courses/intro confirms the path is preserved.
  4. Mixed content. The console shows two images referenced with http in an old blog post. They are updated.
  5. Canonical. Each page gets a self-referencing canonical with the bare https address. A filtered course listing points to the unfiltered listing.
  6. Agreement. The sitemap is regenerated with only canonical URLs, menu links are updated and the staging block on search engines is removed at launch.

The whole check takes an afternoon, and the studio avoids launching with three competing versions of its site.

Limits and what to watch for

  • Canonical is a hint. Search engines may choose a different URL if your signals conflict. Fix the conflict rather than adding more tags.
  • HTTPS does not guarantee ranking. It is a basic requirement and a trust signal, but it does not promise any position in search results.
  • Redirects can be cached. Browsers may remember a permanent redirect for a long time, so test with care and avoid switching your preferred address back and forth after launch.
  • Be careful with strict transport headers. An HSTS header tells browsers to use only https for your domain for a set period. Switch it on only when every hostname works over https, and start with a short duration.
  • Certificates expire. An expired certificate undoes all the work above. Use automatic renewal where your provider supports it and keep a reminder as a backup.
  • Staging leaks. If a staging copy of the site gets indexed, it creates duplicate content. Keep it blocked from indexing or behind a login.
  • Test after changes. Rerun the checks after a theme change, a plugin update, a migration to a new host or a new subdomain. Small changes can break redirects silently.

A launch-day checklist

Run through this list once on the day itself.

  1. Every hostname opens over https with no warning, on desktop and mobile.
  2. Each certificate covers its hostname and has a safe expiry date.
  3. All http and non-preferred variants redirect once to the preferred address, keeping the path.
  4. The browser console shows no mixed content on key pages.
  5. Each page carries one self-referencing canonical tag with the full https address.
  6. The sitemap lists only canonical URLs.
  7. Robots rules do not block the live site, and staging stays blocked.
  8. The preferred version is registered in your search and analytics tools.

Keep the list and repeat it quarterly. Small sites change often enough that a quick recheck catches problems early.

Summary

Launching with clean HTTPS and a clear canonical address is mostly about consistency. Make a list of every hostname, test the certificate on each, redirect http and alternative hosts to one preferred address, remove mixed content, add a self-referencing canonical tag to each page and make the sitemap and internal links agree. None of this needs special software, only patience and a checklist. When you are ready to choose or renew a certificate for your new site, the SSL page on this site is a good place to compare your options.

Frequently asked questions

What should I check about HTTPS before launching a website?

Check that the certificate covers every hostname you will use, is not close to expiry, that http addresses redirect to https, and that no page loads images, scripts or styles over plain http.

What is a canonical URL?

A canonical URL is the one address you want search engines to treat as the main version of a page. A canonical tag in the page head names that address, which helps when the same content can be reached through several URLs.

Do I need a canonical tag if I already have redirects?

Redirects and canonical tags do different jobs. A redirect sends visitors and crawlers to one address. A canonical tag is a hint for pages that must stay reachable at more than one address. Most sites use both.

Should I choose the www or the non-www address?

Either works. Pick one, redirect the other to it, and use it everywhere: in canonical tags, the sitemap, internal links and your social profiles. Consistency matters more than the choice itself.

Can I test these settings before the site goes public?

Yes. Use a staging address that search engines are blocked from indexing, test HTTPS and redirects there, and remove the block only when you switch to the real domain.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need an SSL certificate?

Pick the certificate type that fits your site and see the price before you check out.

SSL from $14.99

See SSL certificates

Keep reading

SSL Guides

Domain and SSL Preparation for a Digital Products Store

A store that sells downloads, courses or licences depends on trust in the web address and the padlock. This guide covers domain choice, DNS, certificates, secure delivery and a pre-launch checklist.

10 min read

SSL Guides

What Kind of HTTPS Does a Website That Takes Payments Need?

Every site that takes payments needs HTTPS, but the certificate type matters less than the whole setup. Learn the differences, the checkout choices and a practical go-live checklist.

10 min read

SSL Guides

Launching a Membership Site: DNS and SSL Preparation

A membership site handles passwords, sessions and payments. Here is how to prepare DNS, subdomains and SSL so members can sign in safely from the first day.

10 min read