• For some reason my site 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 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: https://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)
  • Hi,

    As I can see your site got indexed properly in major Search Engine.

    https://tools.seobook.com/general/spider-test/index.php?c=1&url=https://villasdiani.com/

    It might be some other issue.

    Regards,
    PD

    Thread Starter jronder

    (@villas-diani)

    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

    (@villas-diani)

    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 https://mysite.com without slash on the end, but I do not know where this link is coming from…
    Thank you
    July

    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="https://villasdiani.com"><img src="https://villasdiani.com/wp-content/uploads/2013/11/Diani-Beach-Villas-Hotels-Kenia1.jpg" alt="Villas Diani | Beach Accommodation in Kenya" /></a>
    Thread Starter jronder

    (@villas-diani)

    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

    @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

    (@villas-diani)

    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

    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.

    Just to confuse you even more, and after looking at your .htaccess topic, 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

    (@villas-diani)

    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 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.