File .htaccess su Register.it
August 10th, 2009
Capita sempre più spesso di utlizzare la tecnica denominata URL Rewriting che permette la riscrittura di URL ‘SEO friendly’. Affinchè questa tecnica possa funzionare, come ben sappiamo, è necessario che nella root del nostro sito sia presente il file .htaccess.
Recentemente ho avuto modo di lavorare per un cliente il cui sito era ospitato su un server di register.it; con grande sorpresa ho scoperto però che non è sufficiente caricare via FTP il file in questione perchè l’URL Rewriting abbia effetto.
Di seguito vi illustro la procedura che mi è sembrata più corretta.
Read the rest of this entry »
Useful JQuery methods and events for web designers p.1
March 24th, 2009
I am almost finished reading Learning jQuery 1.3 by Karl Swedberg, Jonathan Chaffer ; I’d like to share some useful methods and code snippets that may come handy to web designers when it is time to handcoding our beautiful layouts.
Reference: jquery.com
Read the rest of this entry »
A custom 404 page
February 17th, 2009
Let’s see how to create a custom 404 page in two simple steps.
- You need to have access to your webserver and upload to its root the .htaccess file. This is a simple file which tells the server to show a default page in case the one we are trying to access cannot be found. The file looks like this:
ErrorDocument 404 http://www.yoursite.com/404.html
The Canonical Tag
February 16th, 2009
Matt Cutts explains the new ‘canonical tag’ in a video.
This tag (whose syntax is:
<link rel=”canonical” value=”http://example.com/page.html”/>
) helps webmaster to clean up duplicate urls on sites and is very useful when working with CMS such as wordpress for instance.
Read the rest of this entry »
Flash and PNGs
February 15th, 2009
Today I am going to show you another way of using flash in your pages.
I do not use flash that often but for my latest website (www.sirenamurano.com) I really needed a solution to manage big sized PNGs.
Read the rest of this entry »
The SWFObject 2.1 in a nutshell
February 12th, 2009
We all know the SWFObject and how it works; let’s see how to implement it in our webpages in just few seconds.
This syntax only applies to the SWFObject v. 2.1 available at googlecode.
Read the rest of this entry »