Categories for Web Development

Exporting WP posts

Getting Specific Posts & Pages Exported From WordPress Ever wondered how to export PART of your WordPress content? Maybe one author in a multi-author blog is leaving… Perhaps one category is being used to seed a new blog… Whatever the…..

[Read More...»]

Blocking IP from China

If your website is running on Apache, here is how you can easily block IP’s from China. Open your .htaccess file & paste the following. ///////////////////////////////////////////////////////////// order allow,deny allow from all # China IP Address Blocks deny from…..

[Read More...»]

PHP Redirect

PHP Redirect to Self (refresh) Header(‘Location: ‘.$_SERVER[‘PHP_SELF’]); Exit(); // if more than one header, you will get “header already sent” error if don’t exit out PHP Redirect to other page header( ‘Location:’ ) ; Why you should avoid using…..

[Read More...»]