.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. ...
Hacking WordPress, WordPress Tweaks
Add this code into functions.php in order to register your custom sidebar: function my_custom_sidebar() { register_sidebar( array ( ‘name’ => __( ‘Custom’, ‘your-theme-domain’ ), ‘id’ =>...