How to configure iis7 http 301 redirection?

You can use the URL rewrite module as Lex Li described - it's quite powerful. It's an add-on that you can download and install into IIS7. For this example though, you can also use the "HTTP Redirect" feature which is included out of the box You will need the "blah" directory to exist physically under the root directory of thewebsite.com.It can be empty, but it has to exist.

It can be an ordinary directory; it doesn't have to be a virtual directory or an application From the left-hand tree view, select the "blah" directory, and then go to features view. Double-click the "HTTP Redirect" icon. Check the "Redirect requests to this destination" box, and type "thewebsite.com".

Leave both of the checkboxes under "redirect behavior" unchecked. Under "status code", choose "Permanent (301)". Then click the "Apply" link under "Actions" at the right This will redirect everything under http://thewebsite.com/blah to the corresponding URL under http://thewebsite.com It will also work for subdirectories under "blah", such as your "category" example.

You can use the URL rewrite module as Lex Li described - it's quite powerful. It's an add-on that you can download and install into IIS7. For this example though, you can also use the "HTTP Redirect" feature which is included out of the box.

You will need the "blah" directory to exist physically under the root directory of thewebsite.com. It can be empty, but it has to exist. It can be an ordinary directory; it doesn't have to be a virtual directory or an application.

From the left-hand tree view, select the "blah" directory, and then go to features view. Double-click the "HTTP Redirect" icon. Check the "Redirect requests to this destination" box, and type "http://thewebsite.com".

Leave both of the checkboxes under "redirect behavior" unchecked. Under "status code", choose "Permanent (301)". Then click the "Apply" link under "Actions" at the right.

This will redirect everything under http://thewebsite.com/blah/ to the corresponding URL under http://thewebsite.com/. It will also work for subdirectories under "blah", such as your "category" example.

Thanks for the answer. – Jronny Dec 10 '09 at 7:50 It's the root directory (physical path) of your whole site thewebsite.com. It's not the virtual directory.

If you only have one site ("Default Web Site"), then it's probably c:\inetpub\wwwroot\. If you have multiple websites on your server, it's probably something different. You can find out by highlighting the site in the tree, going to features view, and clicking "basic settings" on the right.

A dialog box pops up with a "physical path". That's what I'm referring to. – Richard Beier Dec 10 '09 at 7:58.

Under "status code", choose "Permanent (301)". Then click the "Apply" link under "Actions" at the right. This will redirect everything under http://thewebsite.com/blah/ to the corresponding URL under http://thewebsite.com/.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions