Flavio's blog - Part 15
 

Redirecting errors 404 of WordPress to your homepage

error-404

I learn from the blog MrIntech that there is a very interesting how simple trick to eliminate the error 404 that may appear on your blog, turning them into automatic redirects to the homepage (Blog, in this case).

As we know, the error 404 stands for “Page not found”. This may be because the page / post has since been removed, or maybe never existed and the user simply mistyped the address.

Personally, Google Webmaster Tools tells me many error 404 because the blog entries translated automatically using a special plug-in. Sometimes the pages are not translated, and form of the dead in the sitemap link. …Read the rest »

HOWTO: Using the Facebook API in your website – a practical example

in webdesign, Web 2.0 & SEO | | 35 Comments » | Last modified:

API di Facebook

Wanting to make life easier for those who wish to sign the new version of the Guestbook, I thought I'd try to add a method to automatically fill in all fields new Guestbook (except the one where to write the actual comment 🙂 ) by logging in with your Facebook account (But I do not use, ed).

First you need to sign up for a Facebook API key at developers.facebook.com. We must create a new Web application, give a nome, and enter the address of its website in the fields “App Domains” and “Website with Facebook Login”. …Read the rest »

HOWTO: Show city and country of the visitor in PHP

I needed to automatically show the city and the country of origin of a visitor, to insert them automatically into the new Guestbook Site.

IPInfoDB.com offers a free geolocation, which enables, given the IP address of a visitor, of showing (as far as possible) some data, Latitude as, Longitude, Country, Time zone etc.. etc..

Obviously this service is free, contains inaccuracies due to the fact that often some old IP addresses are transferred to other providers, and until the database is not updated, there is the risk that the wrong results are shown. …Read the rest »

APN configuration for Coopvoce (web and MMS)

A few days ago I made the portability operator Postemobile Coop Voice, exploiting the promotion 9 All, that calls to all to 4,5 cent. each 30 second, ed SMS a 9 cent.

The Internet connection is tariffed in actual seconds, for a total of 2eur/ora. Then, one minute of connection is to cost about 0.033 eur per minute… not bad, compared to the fees that I had before with Postemobile!

The only problem is that the site is a bit of Coop Voice’ poor for what concerns the configuration of the web and mms APN for phones with Android.

For the configuration of the MMS have adapted to TIM, by altering only the specific items of Coop, while for the WEB configuration I had to call an operator, I sent e-mail a PDF of the ad-hoc configuration for Android.

For convenience, report here both configurations: …Read the rest »

The easiest and fastest way to make a backup

in OSX Windows | | 3 Comments » | Last modified:

Make regular backups of their data is an important operation.
I dare not imagine how many tears verserei (like all!) if I lost all my data, papers, photo, and everything else I've accumulated over many years.

However, on both Windows and Mac OSX, I ran into some trouble finding software that * REALLY * did what it was meant to do: back up, without creating further problems.

Backuppo my disk storage (ie the disk on which you are all my personal files) Network, on a USB disk connected to the Apple Airport Extreme, Router Cupertino.
Because I realized that within a very few months exchange files, maybe a hundred, I saw that the incremental and differential backup methods are overkill, because they tend to occupy (and then fill the entire) all the space on the backup disk. …Read the rest »