Archive for February, 2008

Please read my introduction to 301 redirects post for a full understanding of the 301 redirect using your .htaccess file.

Redirecting an Entire Folder or Directory

If you’d like to redirect a whole directory (commonly called a ‘folder’), the code is not that much different from a specific page redirect.

Redirecting / redirect an entire whole folder:

Assuming that the user is looking for the page “http://www.example.com/folder/samplepage.html“, - these different directives would redirect to the respective URLs as shown below:
(more…)

Indexed under:
All Articles  |  SEO tools  |  coding for optimization  |  how to  |  what is?

If you haven’t already, please read my introduction to 301 redirects post for a full understanding of the 301 redirect using your .htaccess file.

Redirecting Entire Websites:

redirect 301 / http://www.yoursite.com/

In the above example(s), the first “/” indicates that everything from the root level of the site down (to the folder name if specified) should be redirected. This is an excellent remedy for ensuring that no traffic or rankings are lost if you have to change your domain name.

(more…)

Indexed under:
 |  All Articles  |  SEO tools  |  coding for optimization  |  how to  |  what is?

Happy Valentines Day! Here’s my special gift to you:

About The 301 Redirect - A How To Tutorial

If you have decided to move a whole website, or move a whole directory or folder, or just move a page, then a 301 redirect is the way to do it.

Or perhaps you’ve renamed a page but don’t want to lose the traffic from people who’ve bookmarked the old page name, or worse, loose search engine listings and traffic pointing to the old named page. The answer, again, is…
(more…)

Indexed under:
All Articles  |  SEO tools  |  coding for optimization  |  how to  |  what is?