Archive for February, 2010

19 Feb, 2010

WordPress: permalinks don’t working

Posted by: admin In: Apache|Wordpress

I ran into a stupid problem, by changing the settings for permalinks to a WordPress (switching the classic PHP request to URL SEO) i get a “404 error page not found”. After checking that my apache to have the mod_rewrite enabled and .htaccess file was been created by WordPress itself, i tried to investigate into the configuration [...]

19 Feb, 2010

WordPress: make a short urls

Posted by: admin In: Wordpress|php

Today, services like Twitter impose the use of short URL, certainly in the network there are several free services, but if we want something we can use custom WordPress to create a dedicated service to our blog. The trick is to exploit the demand for each item, calling for his ID stored in the database. [...]

19 Feb, 2010

WordPress: add Google Buzz button

Posted by: admin In: Google|Wordpress|php

Google Buzz is now on everyone’s lips for being anti Facebook situation. It’s time to exploit this situation to your blog, because the service is heavily oriented social network. Technically Google Buzz is largely integrated into Google Reader, the aggregator of RSS feeds, so we can exploit this relationship to create an appropriate button. You [...]

14 Feb, 2010

WordPress: Disable autosave

Posted by: admin In: Wordpress

One of the nice features that the Ajax has brought with it, is surely the autosave. When we write a new article, a special javascript allows you to save, within a specified timeframe, the draft we have produced. For example we are writing and you lose connection, or for majeure force you must dedicate ourselves [...]

14 Feb, 2010

WordPress: empty the trash

Posted by: admin In: Wordpress

From version 2.9 of WordPress you have a Recycle Bin for articles. Definitely a step forward that brings in the dimension of the WordPress as CMS. Trash is emptied automatically every 30 days, but if you want change this you can do a little touch to the wp-config.php file present in your web root. Add [...]

14 Feb, 2010

MySQL backup from command line

Posted by: admin In: Linux|Mysql

It may be useful to make a backup of a specific database through the command line. Surely it is easier to use tools like phpMyAdmin, but in case of emergency or because you prefer use the shell, this info is certainly useful. The executable that performs the operation is “mysqldump” which is usually installed with [...]