PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

.htaccess Essential Tricks For Blog/Website Performance – Guide

htaccess-tricks

.htaccess file is a magic file. You can change the way your website works by using it. I have been reading a lot about .htaccess files. Perticularly .htaccess is very useful in shared web hosting environment where the users have no direct access to their servers or they want to implement some restrictions/security to their files. I will include here some very essential and useful .htaccess tricks. I have used some of these tricks and more to secure my websites according to my web server’s environment and to optimize speed/performance of my websites. Websites with heavy traffic, Digg traffic, Stumble upon or slashdot traffic will need to be optimized via many ways and .htaccess can help a lot.

(more…)

Tags: , , , ,
Posted in: Tricks, Useful Scripts, htaccess
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Display Total Number of Posts on Your WordPress Blog

This tutorial show you that how to display the total number of posts published on your WordPress blog. Although there are number of WpPlugins are available for stats, but what about creating your own stats for just Total Number of Posts as clean as original. This function is not by default in WordPress software. But we can get the job done by the following method.

There can be many other ways to do so but we use some simple way by using the $wpdb object to make a custom query to WordPress database.

(more…)

Tags: , ,
Posted in: Hacks, WordPress
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

    


  Subscribe Via RSS
  Subscribe Via Email