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>
Incoming search terms:
- symfony2 customize 404 error page php (2)
- htaccess speed up site (2)
- using htaccess to speed up wordpress (2)
- htaccess speed up (2)
- wordpress htaccess speed (2)
- speed up wordpress back end (2)
- speed up wordpress htaccess (1)
- speed up wordpress hacks with htaccess (1)
- speeding up wordpress with htaccess categories 404 (1)
- speeding up wordpress apache (1)
- 19#1 using in htaccess (1)
- using htacces to speed up wordpes (1)
- wordpress gzip apache handler (1)
- wordpress htaccess cache (1)
- wordpress speed htaccess (1)
- wordpress speed up htaccess (1)
- mysql c sharp retrieve image (1)
- javascript load content from another site -jQuery -iframe -ajax -swf (1)
- add next and previous dynamically in jcarousel configuration (1)
- cache htaccess for wordpress example (1)
- caching for wordpress using htaccess (1)
- concrete5 htaccess (1)
- example htaccess for speed (1)
- hack htaccess to speed up website 2011 (1)
- how to speed up wordpress using httpd conf (1)
- htaccess speed tricks (1)
- htaccess speed up word press (1)
- htaccess speed up wordpress (1)
- htaccess splash wordpress (1)
- htaccess tips for speed up wordpress (1)
- iframe в htaccess (1)
- worpress htaccess speed up (1)
You will also be interested in ,
- mod_proxy_balancer apache load balancing
- Speed up wordpress using .htaccess part 2
- Fix the problem in getting 500 Internal Server Error In Localhost Due To .htaccess
- How to run or Configure Apache to use PHP as CGI
- Disable the TRACE and TRACK For More Security
- How to run jsp in xampp?
- Custom Error Pages Using .htaccess
- How To Avoid 404 Error Pages Easily and Reliably
- Import large files in mysql using PhpMyAdmin
- make_sock: could not bind to address 0.0.0.0:80 windows apache not starting [Solved]
