Redirect Issue (www vs without www)

I have this rule

*.dewaynes.com/images/email-logo.png
Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://cdn.shopify.com/s/files/1/0368/6547/4605/files/email-logo.png)

This url redirects
http://dewaynes.com/images/email-logo.png

This url (with the www.) does NOT redirect
http://www.dewaynes.com/images/email-logo.png

any ideas would be helpful

Are you sure this is not the other way around?

*.dewaynes.com will apply to www.dewaynes.com but not dewaynes.com. To make both redirect you need to remove the period after the asterisk *, like:
*dewaynes.com/images/email-logo.png

I updated the rule as mentioned, but didn’t see any change.

image

The issue is as I described (www. doesn’t work abut it works without the www)

I made a short video documenting the issue

(https://www.loom.com/share/fcf91d535a604b74ba96b8dac0a8839f)

Both www and non-www are now redirecting for me. It may be that your browser is caching the response. Try clearing your browser cache and check again (if you don’t know how there are lots of tutorials online, it’s very much specific to your browser).

Oh actually, never mind.

I’m getting a redirect on no www, but I’m getting an error on www from Shopify.

By chance, have you recently transferred away from Shopify?

we actually use shopify That tells me that the www. version is being bypassed by rule number 1.

EVERYTHING else for dewaynes.com is handled by rule number 2

![image|690x243](upload://edDBo3HEmS1gUELoooVCyAkG0pF.png)

This has been resolved.

I removed the cname for www and created an A record that pointed to the same IP and the redirects started working

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