HTTP Header Question (Site Settings)
-
Hello John,
I hope you’re well. Please excuse my ignorance about these matters, but I wanted to ask if it is possible to set a redirect as an http header in the site settings area of the plugin, specifically for www to non-www (the canonical option doesn’t seem to work consistently due to a caching issue with the host) on an ngnix server. I spoke to the host about this previously and they told me they added this to the config file:
curl -I https://www.reclaimdesign.org HTTP/2 301 server: nginx date: Thu, 27 Feb 2020 01:27:11 GMT content-type: text/html; charset=UTF-8 content-length: 0 location: https://reclaimdesign.org/
I don’t have access to the config file, and the redirect is no longer working, and I’m over writing back and forward to the host, so I wondered if there was a way I could include the above info in an http header somehow? As I say, I’m not wise in the ways of redirect kung fu, so would appreciate your help.
Michael.
- The topic ‘HTTP Header Question (Site Settings)’ is closed to new replies.