Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1821

Assistance with HTTPS Redirection Issue via .htaccess

$
0
0

I’m working with a customer who recently acquired a business, which included an existing website. Both the old and new domains are managed by a third-party vendor. Unfortunately, the vendor prematurely redirected the domains to our new site. While the HTTP redirect is working correctly, HTTPS requests are failing—resulting in a “This site can’t be reached” error when accessed via Google search results or any HTTPS link.

It’s a bit of a unique setup:

The new website is hosted on Shopify

The domain is hosted by another provider

I have access to the server where the old site was previously hosted

To resolve this, I attempted to set up a redirect via an .htaccess file in the root directory to forward HTTPS traffic to the new domain. Here's the rule I’ve written:

apacheCopyEditRewriteEngine OnRewriteCond %{HTTP_HOST} ^(www\.)?broughamoutdoor\.com [NC]RewriteRule ^(.*)$ https://livingspace.com/$1 [L,R=301]

Unfortunately, this hasn’t resolved the issue. I suspect I may be missing a key configuration—possibly related to the HTTPS/SSL layer, virtual host settings, or server-level handling of secure connections.

Would anyone be able to point me in the right direction or suggest what might be missing?

Thanks in advance,

I tried a written rule to redirect all old pages to the new site but to no avail.


Viewing all articles
Browse latest Browse all 1821

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>