Posts Tagged ‘word press’

How to Add Leverage Browser Caching in WordPress Website via .htaccess

 
Step 1
 
First you need to access your .htaccess file through cPanel by clicking on the File Manager. When the popup box appears, click on the Web Root option and make sure that the “Show hidden files” option is checked.
 

Add Leverage Browser Caching 1


 
Step 2
 
Open up your .htaccess file and paste the following directives at the top of the file:
 

Read more »

How To Optimize Your Site With GZIP Compression

 
Step 1
 
First you need to access your .htaccess file through cPanel by clicking on the File Manager. When the popup box appears, click on the Web Root option and make sure that the “Show hidden files” option is checked.
 

Add Leverage Browser Caching 1


 
Step 2
 
Open up your .htaccess file and paste the following lines.
 

Read more »

How to Delete WordPress Post Revisions To Reduce Database Size

 
It is also made sense to delete and remove all existing stored post revisions and changes made on pages stored in the database in order to reduce the wp_posts table size, especially when there is already tons of revisions or changes been kept. After this operation you can reduce several MB size of your wp_posts table.
 
To view your post revisions, select any post and click edit button then scroll down to bottom of the page.
 
Delete WordPress Post Revisions 1
 

To delete and remove all existing post revisions entries, delete all rows from WordPress database Posts table having post_type value as revision.


Read more »