Invalid 'X-Frame-Options' header encountered when loading 'https://store.duxiana.com/': 'allow-from https://store.duxiana.com/' is not a recognized directive. The header will be ignored.Understand this error chrome-error://chromewebdata/:1 Refused to disp

@Umang You’re really confusing yourself regarding what the headers can impact.

They adjust the headers of the Netlify site you’re deploying them to.

They do not change the response headers of other sites.

Going to https://duxiana-dev.netlify.app you will see:

^ These match what you have set

Going to https://www.duxiana.com you will see:

It’s clearly a different site.

Sure they’re both hosted on Netlify, but it’s not the same site and there are even obvious visual differences between them.

Your live site:

Your dev site:

Your site at https://www.duxiana.com explicitly says X-Frame-Options: DENY

If you need that changed, then you would change it on the site deployed at https://www.duxiana.com

2 Likes