Wednesday, April 11, 2007

Redirecting URL

Basically there are two ways to do the URL redirect
(1) write commands in the page that will redirect the access to another URL.
(2) write a configuration file (.htaccess) that will redirect a certain URL tree to another one.

The former is the one we see often with a page saying "redirected to the new page in 10 sec.." or so. According to documents I read, this is not recommended for its problem with search engines. method (2) is more search engine friendly. So I took the second method.

I struggled a lot to set redirection of the previous CMCI web pages to the new one. The setting should be not so difficult by editing a configuration file called ".htaccess" but somehow in EMBL web server, .htaccess does not function for redirecting (other functions such as access restrictions does work). Michael Wahlers@IT service helped me a lot on this problem, and he configured another configuration file that is only accessible by administrator.

In any case, here is a list of links related to this issue.

General listings of methods for redirecting URL

URL Redirect

URL Rewriting Guide

Permanent Redirect by editing .htaccess (301)

Apache Module mod_alias

301 Permanent Redirect by Brian V. Bonini

Labels:

Links to this post:

Create a Link

<< Home