Title: Proper header setting
Last modified: August 21, 2016

---

# Proper header setting

 *  [jronder](https://wordpress.org/support/users/villas-diani/)
 * (@villas-diani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/)
 * For some reason my [site](http://villasdiani.com/) lost half of its traffic and
   I try to identify causes. My worry is also wrongly configured header and as I
   am absolutely new to this I can’t realy say what is wrong there, but something
   is saying me there is something wrong:-( I also made [test on redbot](http://redbot.org/?uri=http%3A%2F%2Fvillasdiani.com%2F)
   and it says “This response is negotiated, but doesn’t have an appropriate Vary
   header” or it also says “This response allows all caches to store it”
 * This is my header:
 *     ```
       HTTP/1.1 200 OK
           Server: nginx/1.4.6
           Date: Tue, 18 Mar 2014 06:05:35 GMT
           Content-Type: text/html; charset=UTF-8
           Transfer-Encoding: chunked
           Connection: keep-alive
           X-Powered-By: PHP/5.2.17
           X-Pingback: http://villasdiani.com/xmlrpc.php
           Cache-Control: max-age=172800
           Expires: Thu, 20 Mar 2014 06:05:35 GMT
           Content-Encoding: gzip
       ```
   
 * Can somebody help me to set my header please?
 * Thank you very much,
    July Ronder

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [The Grey Parrots](https://wordpress.org/support/users/greyparrots/)
 * (@greyparrots)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717677)
 * Hi,
 * As I can see your site got indexed properly in major Search Engine.
 * [http://tools.seobook.com/general/spider-test/index.php?c=1&url=http://villasdiani.com/](http://tools.seobook.com/general/spider-test/index.php?c=1&url=http://villasdiani.com/)
 * It might be some other issue.
 * Regards,
    PD
 *  Thread Starter [jronder](https://wordpress.org/support/users/villas-diani/)
 * (@villas-diani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717682)
 * Thank you PD, I know my site is indexed. That is not my problem, my problem is
   that I think my header is wrong.
 * Thank you
    July
 *  Thread Starter [jronder](https://wordpress.org/support/users/villas-diani/)
 * (@villas-diani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717683)
 * I also had a look on that tool you provided me and I realy do not understand 
   why is it showing that 16% of my words are hover or color 1.54%…:-(
 * Another thing, it also shows that I have link on my site [http://mysite.com](http://mysite.com)
   without slash on the end, but I do not know where this link is coming from…
    
   Thank you July
 *  [The Grey Parrots](https://wordpress.org/support/users/greyparrots/)
 * (@greyparrots)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717684)
 * Because its here.
 *     ```
       .btn, .btn-big, .slides-prev:hover, span.favorites-remove:hover, .slides-next:hover, a#totop:hover, .wpcf7-submit, .mu_register input[type="submit"] { background-color: #bdbfbf; }
       a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .comments-title h3 a, #the404, .ts-paging a:hover { color: #27b7f0; }
       a:hover, h1 a:hover, h2 a:hover, .hentry h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, .section-title a:hover, .comments-title h3 a:hover { color: #e3a11c; }
       ```
   
 * And second one is here
 *     ```
       <a href="http://villasdiani.com"><img src="http://villasdiani.com/wp-content/uploads/2013/11/Diani-Beach-Villas-Hotels-Kenia1.jpg" alt="Villas Diani | Beach Accommodation in Kenya" /></a>
       ```
   
 *  Thread Starter [jronder](https://wordpress.org/support/users/villas-diani/)
 * (@villas-diani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717696)
 * Oh, I guess this is bad:-( all that hover, or is that normal?
 * I guess also the domain without the slash is bad, should I change it for the 
   one with slash? How? I guess also my head is wrongly configured for this:-( Can
   you help me with this please?
 * Thank you very much
    July
 *  [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717703)
 * **@jronder**
 * From the Nginx docs:
 * >  syntax: gzip_vary on | off;
   >  default: gzip_vary off; context: http, server,
   > location
   > Enables or disables inserting the “Vary: Accept-Encoding” response header field
   > if the directives gzip, gzip_static, or gunzip are active.
 * So, adjust your nginx.conf file, or, speak with your hosts to get the setting
   enabled.
 *  Thread Starter [jronder](https://wordpress.org/support/users/villas-diani/)
 * (@villas-diani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717711)
 * Thank you very much WPRanger, this sounds for me as Chinese. I have no idea what
   this means and even do not know what should I tell to hostgator to do:-( Do you
   think they will know if I just tell them enable the settings on nginx.conf file?
   And then what will change? Or what I have there wrong?
 * I am so sorry for all this stupid questions, but please understand I am very 
   new to this:-(
 * thank you very much!
    July
 *  [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717734)
 * If you’re on shared hosting at Hostgator I doubt they’d change the global server
   configuration for just one customer. Worth a try I suppose but I doubt they’d
   do it.
 *  [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717752)
 * Just to confuse you even more, and after looking at your [.htaccess topic](http://wordpress.org/support/topic/redirect-remove-itself-from-httacces-file?replies=1),
   I think hostgator are using Nginx as a front-end proxy to Apache. You don’t need
   to worry about that, it’ll be for a performance tweak. However, it may be confusing
   Redbot. So it’s possible that your original concern is actually unfounded.
 * If that does confuse you, don’t worry, it happens 🙂
 *  Thread Starter [jronder](https://wordpress.org/support/users/villas-diani/)
 * (@villas-diani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717855)
 * Thank you very much, but I am totally lost:-( Does that mean that my headers 
   are correct? A long time ago i was using cloudflare, can that have something 
   in common? I hope not.
 * [@the](https://wordpress.org/support/users/the/) Grey Parrots where can I adjust
   that link going to my home page without the slash please? I guess it is not correct
   have it without the slash:-(
 * Thank you very much,
    July

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Proper header setting’ is closed to new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [jronder](https://wordpress.org/support/users/villas-diani/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/proper-header-setting/#post-4717855)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
