• Hey everyone!

    I get this when i test my website at gtmetrix.com

    RECOMMENDATION GRADE TYPE PRIORITY
    Make fewer HTTP requests F (0) Content High

    Compress components with gzip F (0) Server High

    Add Expires headers F (23) Server High

    I have been looking everywhere. But I don′t know how to fix this. I have W3 total cache installed. Should I still have theese “problems” when I have that installed? Is there a plugin to fix this? Any code? What to do?

    Many thanks

Viewing 15 replies - 31 through 45 (of 51 total)
  • Thread Starter Nils Fridlund

    (@mrbennet)

    Now the logo thing is done. Does it look better?

    Here is the .htaccess file:

    https://pastebin.com/N8AJteqp

    The logo is ok now, but the .htaccess link doesn’t work

    Try to add this:

    <FilesMatch "\.(css|js|x?html?|php)$">
    SetOutputFilter DEFLATE
    </FilesMatch>

    Thread Starter Nils Fridlund

    (@mrbennet)

    I have added it. Is it okey now?

    Nope, doesn’t work. Are you sure the .htaccess is getting changed on your hosting? Also try to move this block to the beginning of the file

    Thread Starter Nils Fridlund

    (@mrbennet)

    I have the .ataccess file in this path: /public_html

    and it looks like this:

    https://pastebin.com/7mUb1GMf

    remove

    AddOutputFilterByType DEFLATE application/x-javascript
    
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript application/x-javascript  application/rss+xml application/atom_xml text/javascript

    from the end, and add this to the beginning of the file:

    <FilesMatch "\.(css|js|x?html?|php)$">
    SetOutputFilter DEFLATE
    </FilesMatch>

    Thread Starter Nils Fridlund

    (@mrbennet)

    What about now?

    Nope, it doesn’t compress js-files. Is it some kind of shared hosting or your own server?
    You should ask your tech support why mod_deflate doesn’t compress javascript-files (while compressing everything else)

    Thread Starter Nils Fridlund

    (@mrbennet)

    I use MU-site if that got something to do with it

    Not at all, it’s a server-related issue

    I have been reviewing the previous posts and seems you are getting well through. Regarding your HTML Headers, by default <h1> is the post title, to set h2, there is a plugin called Subtitle, that adds a place in your post editing interface for subtitles, and automatically adds the <h2> in your page source, h3 and h4 are not a must, but if you want your tags and categories to act as h3 and h4, some minor modification in the page and post template might be needed. Just a thought. Finish first, the H2, and examine it, using third party websites provided earlier, or examine source code in your browser.
    One thing I noted above, “.atacess” ??, if this is a spelling mistake, well fine, otherwise, rename it. Before, answering or troubleshooting your .htaccess, what’s your hosting type : Shared or VPS,as triamazikamno asked, first.If you don’t know the answer then you are on shared. ??
    I will try to catch up and stay updated.

    Regards

    Thread Starter Nils Fridlund

    (@mrbennet)

    Please answer 1-5 in “point form”, and leave blank if you don′t know

    1 .I spelled wrong in the chat.

    Look at this:
    https://pastebin.com/9JNmuKRA
    Did I do it right?

    Maybe there is some w3 total cache settings that I have done wrong?

    2. I don′t know what VPS are, so probably i′m on shared!

    3. What about the subdomain? I have created “Media.tr?nasmart.se”, what than?

    4. But just regarding the h1 and h2. The reason I ask is because SEO. I want to optimize as much as posible. But maybe google don′t like when every title is h1? Is it to much to have more than 1?

    5. And regarding the DNS server. Should I get this?

    1. Looks fine, but it doesn’t work on js-files for some reason. Did you try to contact with webhosting support?
    2.3.4.5.

    Mr.Bennet – you should always only have one H1 tag per page. Google treats the H1 as the topic of the page so more than one H1 confuses Google and therefore hurts your rankings.

    Use the same keyword in H2 and H3 throughout the page or post but only ever one H1.

    Hope that helps.

Viewing 15 replies - 31 through 45 (of 51 total)
  • The topic ‘Yslow improvement’ is closed to new replies.