IIS 7.5 - Redirect webpage or default page
6,418
With a 301 redirect using your language of choice?
Related videos on Youtube
Author by
user72128
Updated on September 18, 2022Comments
-
user72128 over 1 year
I have a website like so: http://website.com/path/default.html
If I go to http://website.com I get the IIS 7 Welcome screen. If I go to http://website.com I would like to be redirected to http://website.com/path/default.html
How do I go about this in IIS 7.5?
-
user72128 over 12 yearsMaybe it's not called a redirect. My website is located here: website.com/path/default.html , but when users go to website.com all they get is the IIS 7 welcome screen. I would like them to get the website.com/path/default.html instead. How do I do this in IIS 7 ??
-
user72128 over 12 yearsDan was right. I had to go to IIS manager > Hostname of my server > Sites > Default Web Site > choose HTTP Redirect > check Redirect requests to this destination: website.com/path/default.html then Check Redirect all requests to exact destintation and check Only redirect requests to content in this directory. Now it works perfectly.