Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

301 Redirect not working in Safari

Status
Not open for further replies.

jjjax64

IS-IT--Management
Apr 27, 2010
39
US
Hi, trying to setup http 301 permanent redirect in IIS so anything coming to general-trading.com will automatically get directed to which seems to be suggested for search engine optimization. Trying to test in Safari and keep getting error about too many redirects. Tried clearing cache and history on my I devices but same thing. Thanks, Joe
 
How are you setting up the redirects?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Hi, in IIS, I goto HTTP Redirect.

I have the checkbox checked for Redirect requests to this destination and in the destination field, I have the domain name:
Then, I've tried different combinations on the other 2 checkboxes for Redirect all requests to exact destination and Only redirect to content of this directory but didn't seem to matter either way.

Lastly, I have the Permenant(301) option selected from Status code dropdown.

I see in Safari when I type in address without the www, it does change to be with the then the error comes up.

Thanks,
Joe
 
Well as BOTH "sites" are coming from the same server simply checking that box will set ALL the host header on that site instance to be redirected to that URI, which also INCLUDES the "www" version.

To redirect using the IIS method you need TWO site instances, one for the to redirect to, and one for all other hostnames you want to redirect including the non



Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top