Redirect not working for www version of domain

What is the name of the domain?

example.com

What is the error number?

404

What is the error message?

Not found

What is the issue you’re encountering

I’m able to redirect the cdn subdomain and root domain but not www

What steps have you taken to resolve the issue?

I’m having an issue with a simple client redirect I’ve created. I’ve been able to set up a different redirect that redirects both the cdn subdomain and the root domain. It won’t redirect the www version, though. I set up the redirect (attached image) just to test www specifically and I can’t get this simple redirect to work either. I’ve posted the DNS setting for www that shows it’s proxied. Any ideas on how to resolve this? The www version of the website is the default version and it’s working fine.

Screenshot of the error

Can you give the domain and a valid URL you are trying to redirect from? It’s much easier just to test to see what the problem is.

I’m trying to redirect https://www.interlightus.com/itemimages/_W2X4.6D_T1.5v2.jpg?width=250&height=300&fit=inside.

You can see the non-www version works with https://interlightus.com/itemimages/_W2X4.6D_T1.5v2.jpg?width=250&height=300&fit=inside using one of my other redirect rules.

We also have cdn redirects working with the other rule because I’m using URI Path https://cdn.interlightus.com/itemimages/_S14S_T10_LINESTRA.jpg?width=250&height=300&fit=inside

For some reason, it just doesn’t catch anything using www.interlightus.com

Headers indicate you seem to be using BigCommerce. If so, as they use Cloudflare, make sure to point all DNS records to them using a proxied CNAME to shops.mybigcommerce.com so requests pass through your Cloudflare account first and not direct to BigCommerce. Do not use any other CNAME or A/AAAA records to BigCommerce.

See…

5 Likes

Thanks, sjr. That fixed the issue. The root was already pointing to shops.mybigcommerce.com, which enabled the orange-to-orange and why the redirects worked but www wasn’t. Changing this made the redirects work. Thanks for the help.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.