Browsing articles from "January, 2010"
Jan
20

301 Redirection with .htaccess

By admin  //  web development  //  No Comments

Today I was asked by a SEO company to implement a 301 redirection via a .htaccess file.
This is something I have never done, and to be honest not sure how this affects SEO but here is how I implemented it.

Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

Please REPLACE domain.com and www.newdomain.com with your actual domain name.

Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.

Jan
14

JQuery Lightbox Plugin

By admin  //  web development  //  No Comments

Pretty Photo is a great looking and functioning light box plug in that you can use with JQuery.

Not only do you get the plugin for this – but it also comes with 5 different skins that you can choose to use with your website.

Check it out here:
http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/