IIS6 301 redirection while saving paths

I have a problem with IIS6 301 redirection.

I set up the following redirects for domain.com to go to www.domain.com$S$Q on the Home Directory tab in Site Properties.

If I go to domain.com , I get a redirect to www.domain.com without any problems. But if I go to domain.com/dir , I will be redirected to www.domain.com/dir/dir .

What am I doing wrong?

+4
source share
2 answers

You want to follow these instructions to configure HTTP 301.

Edit: Why is it worth it, since you need to check "The client will be sent for permanent redirection for this resource" on the "Home directory" tab.

+3
source

Checking the "Exact URL above" checkbox seems to fix the problem.

0
source

All Articles