Ready to get started?Download WordPress


php code for gzip compression (4 posts)

  1. charlietech
    Posted 1 year ago #

    I was reading about this and needsome help with a code to make the gzip compression. Can anybody help?

  2. SNSD Photo
    Posted 1 year ago #

    it will be easier with .htaccess gzip compression.

    php gzip compression is the worst method.

  3. charlietech
    Posted 1 year ago #

    Ok so what do I need to do with the .htaccess gzip compression?

  4. ClaytonJames
    Posted 1 year ago #

    You can try this first:

    Log into your site, then visit yoursite.com/wp-admin/options.php and scroll down the page until you find the "gzipcompression" entry.

    WordPress should compress articles (with gzip) if browsers ask for them.
    1 : Yes
    0 : No (default)
    Data type: Integer

    Don't forget to scroll to the bottom and save your changes.
    Options Reference

    If that doesn't work, this is your best bet for a diverse and detailed assortment of ideas on WordPress and gzip.

    gzip compression wordpress "how to"

    You may notice that some of those links will be from topics here in the forums. You can also easily limit your search to those discussions if you like.

    site: wordpress.org/support gzip compression "how to"

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.