< Buzzing or vibrating the login form using jquery Posted On May 15, 2012 : 0 comments << >> Simple div slideshow using jquery Posted On May 9, 2012 : 0 comments << >> Copy mysql column in varchar to type date Posted On May 3, 2012 : 0 comments << >> Enter only numbers inside a input field of a form using javascript Posted On May 1, 2012 : 0 comments << >> Slide in and out animate div vertically using jquery Posted On April 25, 2012 : 1 comment << >> Tag cloud using php, mysql and ajax with filter Posted On April 24, 2012 : 0 comments << >> Change webpage font color or background color from the user side using javascript Posted On April 19, 2012 : 0 comments << >> A single link that cycles through several webpage background color using javascript Posted On April 17, 2012 : 0 comments << >> Simple webpage redirection using perl script Posted On April 10, 2012 : 0 comments << >> Get ipaddress using perl script Posted On April 4, 2012 : 0 comments << >>

Speed up wordpress using .htaccess part 1

This Tutorial Has Been Viewed 1,352 Times.
VN:F [1.9.17_1161]
Rating: 6.0/10 (2 votes cast)

Very simple method to speed up websites that use wordpress as backend using .htaccess methodology

Add the below stuff whatever i have given in your .htaccess file simple. :)

gzip files

gzip allows you to compress files, so obviously that means they load faster. The code below will gzip html, text, css, js and php files:

<ifModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file \.(html?|txt|css|js|php)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

Block spammers

After stopping spammers, we’re now blocking them too! Change the line deny from 123.346 etc to include the IP of said spammer.

<Limit GET POST PUT>

order allow, deny

allow from all

deny from 123.456.789

</LIMIT>

Use PHP compression

Another compression technique, this time for PHP. At this rate, your blog will be compressed to 1kb!

# php compression – use with caution
<ifmodule mod_php4.c>
php_value zlib.output_compression 16386
</ifmodule>

Some more to be added.Will be doing that soon. Enjoy my post guys :)
One more thing always

Protect Your htaccess
# protect the htaccess file

  <files .htaccess>

  order allow,deny

  deny from all

  </files>
VN:F [1.9.17_1161]
Rating: 6.0/10 (2 votes cast)

Speed up wordpress using .htaccess part 1, 6.0 out of 10 based on 2 ratings

Incoming search terms:





You will also be interested in ,

Leave a Reply

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks