Support » Fixing WordPress » php code for gzip compression

  • charlietech

    (@charlietech)


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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sugar Apple

    (@blacklizt)

    it will be easier with .htaccess gzip compression.

    php gzip compression is the worst method.

    charlietech

    (@charlietech)

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

    Clayton James

    (@claytonjames)

    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.

    gzipcompression
    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”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php code for gzip compression’ is closed to new replies.