Blog

NetSmarter.com Blog: Programming

Wordpress Plugin: WP-DBManager

I just found a very useful Wordpress plugin: WP-DBManager. This plugin manages your Wordpress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up and optimizing of database. Here is the link.... ❯❯❯

How to Install a CPAN module

To install the modules on a *nix system, type: perl -MCPAN -e "install XML::Parser" perl -MCPAN -e "install XML::RSS"... ❯❯❯

How to Redirect Website Visitors To an Other Page/Site?

Method 1 - .htaccess 301 Redirect The smoothest way to redirect your visitors is to use an .htaccess redirect. This has no delay since before a page is served to the browser the server checks first for an .htaccess file... if it sees this the old page never loads, instead visitors are sent directly to the new page. These are a few .htaccess redirect codes that I've used that might come in... ❯❯❯

WordPress XML-RPC Remote Posting Problem

I was trying to use Windows Writer to post to a WordPress blog. However, I got an error message saying "xmlrpc.php 403 forbidden". After some research, I finally found the solution. Just add the following lines to the .htaccess file: SecFilterInheritance Off ... ❯❯❯

Installing a CPAN Perl module from a non-root account

Source: http://www.soe.ucsc.edu/~you/notes/perl-module-install.html Problem: you do not have root permission but want to install a Perl module in a local directory and the module can be located from your scripts. CPAN Perl modules Refer to Installing CPAN Modules and this section in the CPAN FAQ. Download the Perl module Find the Perl module you want. Google or the CPAN Search Site are usually... ❯❯❯