[DK] SÃ¥dan 301-redirecter du fra en side til en anden i IIS..

[In Danish:]
Det her er en let guide til hvordan man laver 301-redirects i IIS:
http://www.mcanerin.com/en/articles/301-redirect-iis.asp
(Guiden ER på engelsk.)

Info om options:

URL Redirection Options
To customize URL redirection, click to select any of the following check boxes under The client will be sent to:
The exact URL entered above
Click to select this check box to redirect a virtual directory to the destination URL without appending a portion of the original URL. Use this setting if you want to redirect a Web site or virtual directory to a single file. For example, to redirect all requests for the Scripts virtual directory to the Default.htm file in the home directory, type /Default.htm in the Redirect to box, and then click to select this check box.
A directory below this one
Click to select this check box to redirect a parent directory to a child directory. For example, to redirect your home directory (designated by /) to a subfolder named “NewHome”, type /NewHome in the Redirect to box, and then click to select this check box. If you do not use this setting, the Web server maps the parent directory to itself.
A permanent redirection for this resource.
If you click to select this check box, the server sends a “301 Permanent Redirect” message to the client. If you do not use this setting, redirect processes are temporary, and the client browser receives a “302 Temporary Redirect” message. Some browsers can use the “301 Permanent Redirect” message as a signal to permanently change a URL, such as a bookmark.

URL Redirection OptionsTo customize URL redirection, click to select any of the following check boxes under The client will be sent to:The exact URL entered above
Click to select this check box to redirect a virtual directory to the destination URL without appending a portion of the original URL. Use this setting if you want to redirect a Web site or virtual directory to a single file. For example, to redirect all requests for the Scripts virtual directory to the Default.htm file in the home directory, type /Default.htm in the Redirect to box, and then click to select this check box.A directory below this one
Click to select this check box to redirect a parent directory to a child directory. For example, to redirect your home directory (designated by /) to a subfolder named “NewHome”, type /NewHome in the Redirect to box, and then click to select this check box. If you do not use this setting, the Web server maps the parent directory to itself.A permanent redirection for this resource.
If you click to select this check box, the server sends a “301 Permanent Redirect” message to the client. If you do not use this setting, redirect processes are temporary, and the client browser receives a “302 Temporary Redirect” message. Some browsers can use the “301 Permanent Redirect” message as a signal to permanently change a URL, such as a bookmark.

Fra: http://support.microsoft.com/kb/313074

Leave a Reply

Your email address will not be published. Required fields are marked *