• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

OrganicWeb

Marketing Strategy Facilitators & Mailchimp Pro Partners

  • Home
  • Marketing Strategy & Planning
  • Mailchimp Services
    • Service Catalogue
    • Mailchimp Improvement Audit
    • Shopify & WooCommerce Marketing
    • Mailchimp Online Courses (on Udemy)
    • Mailchimp Live Classes
    • Mailchimp Corporate/Team Training
    • Consulting
  • Free Tools
    • 5 day Mailchimp marketing boost
    • Map maker for email
    • Is Mailchimp down?
    • Marketing facts and stats.
  • Content
    • Blog
    • Videos
  • Contact & About
You are here: Home / WordPress / Solution. HTTPs Subdomain Redirects to Primary Domain

Solution. HTTPs Subdomain Redirects to Primary Domain

If all goes well then delivering your WordPress website via HTTPs is really simple to do. All you need is a valid SSL certificate installed on your host and then, if you want, add a redirect so that your pages and posts are delivered via HTTPs (as opposed to HTTP). Of course you could always use CloudFlare with their Flexible SSL however in this post we’re concerned with you having a SSL certificate on your host.

Unfortunately all doesn’t always go quite so well; an issue that comes up often is where a subdomain always redirects to the primary domain when trying to view the subdomain with HTTPs. For example, when you go to http://subdomain.example.com then you view your pages as on your subdomain. When you go to https://subdomain.example.com however you see a page on your example.com website (most commonly the 404 not found error page).

From my experience, the most common cause for this problem with cPanel is that the subdomain directory name on the server is not identical to the subdomain name. For example, the directory name may be my-subdomain whereas your actual subdomain is mysubdomain (e.g. mysubdomain.example.com). For whatever reason the directory name must exactly match the subdomain name.

Fortunately the fix for this issue is simple. All we need do is create a symlink so that a link is created with the same name as the subdomain which then points to the directory into which your subdomain files are saved. If this doesn’t make much sense to you then contact your hosts technical support and ask them to create the symlink.

Found this useful? Please share:

Filed Under: WordPress

Watch Gary in action

Gary frequently adds Mailchimp instructional videos to his YouTube channel. Subscribe to keep updated.

→  Subscribe   ←

How to create a lead-capture form with file download.

How to target your most engaged Mailchimp contacts.

Reader Interactions

Leave a Reply Cancel reply

Primary Sidebar

Ready? Boost your marketing …

Get Started

Learn from a Mailchimp Pro Partner

Signup to receive info about Gary's Mailchimp beginner and advanced classes.

Sign up

Gary on Australian National Radio

Changes are coming to the Australian Spam Act

Read Gary's article in SmartCompany

Mailchimp Video Tutorials

Meet Gary, Mailchimp Expert

Gary is a Mailchimp Expert and Partner. He delivers Mailchimp training and consulting services in Australia, New Zealand and Singapore. Gary presents at Mailchimp events and hosts the first, and only, Australian Mailchimp sponsored event. He is M.B.A. qualified from Henley Business School, U.K.

Contact Gary for your Mailchimp needs

Footer

Customer ratings

Mailchimp pro partners

Contact

Contact Gary for all your Mailchimp training, consulting and integration needs.

Contact Gary.

Copyright © 2021 · Sitemap · ABN: 40800872179 · Privacy Policy · Terms of Service