Tips resolving Apostrophe and Backslash error in WordPress

This piece of code in the WordPress codex and put it into functions.php: if ( get_magic_quotes_gpc() ) { $_GET = stripslashes_deep($_GET ); $_POST = stripslashes_deep($_POST ); $_COOKIE = stripslashes_deep($_COOKIE); } The existence of magic quotes has been a headache...

Speed up WordPress Leveraging Browser Caching via .htaccess

ETag: Header unset Pragma FileETag None Header unset ETag Browser caching: ## EXPIRES CACHING ## ExpiresActive On ExpiresByType image/jpg “access 1 year” ExpiresByType image/jpeg “access 1 year” ExpiresByType image/gif “access 1...

.htaccess Optimization – Joomla

ETag Expires headers AddOutputFilterByType DEFLATE ########## Begin – ETag Optimization ## This rule will create an ETag for files based only on the modification ## timestamp and their size. ## Note: It may cause problems on your server and you may need to...