Hacking WordPress, Optimize WordPress, WordPress Tweaks
Source: How to Move JavaScripts to the Footer in WordPress – a Quick Fix • SpeedRak.com : SpeedRak.com
CSS Tweaks, Optimize WordPress, WordPress Tweaks
If you don’t want to get fonts from the other sites you can host them locally on yours WordPress installation. In order to achieve that you need to follow just this simple steps described below. Find font that you like the most. In most cases the fonts are in...
.htacces tweaks, Optimize WordPress, WordPress Tweaks
To add far future expires header to you WordPress site simply add this code to the .htaccess file <IfModule mod_expires.c> ExpiresActive on ExpiresDefault “access plus 1 month” ExpiresByType image/gif “access plus 1 month” ExpiresByType...
.htacces tweaks, Security, WordPress Tweaks
To be able to add new security layer in WordPress add those lines in the .htaccess file: #Block directory listing Options +FollowSymLinks -Indexes #Block URLS with base64 encoding RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] #Block scripts...
.htacces tweaks, WordPress Tweaks
To be able to redirect all links from the old domain to new one you need to edit .htaccess file on the old domain like this: RewriteEngine on RewriteCond %{HTTP_HOST} ^old-domain.info [NC,OR] RewriteCond %{HTTP_HOST} ^www.old-domain.info[NC] RewriteRule ^(.*)$...
Hacking WordPress, WordPress Tweaks
To be able to change session expiration time in WordPress next lines of code must be placed in function.php. Time format: if you want to set expiration tome to 60 seconds set $expiration = 60, or 2 hours and 12 minutes set $expiration = 2*00*12. ...