DelphiFAQ Home Search:

My web page redirects from afiliate.site.com to www.site.com

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

My site regularly is accessed as www.site.com and for affiliates I have a special version affiliate.site.com with some extra panels.
However, after submitting a form, the web server redirects to www.site.com. Why is that?

Answer:

There are many possible reasons for this phenomenon. One possibility is that the URL is slightly wrong. I once had this situation (which might apply to you):

Session was directed to:
affiliate.site.com//thankyou.htm

Notice the two / in the URL, caused by a scripting error - The page that loaded in the browser was:

www.site.com/thankyou.htm

This was with Apache 2.0


Comments:

 

 

Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option.
 
It seems that you are
from Washington, US .

Info/ Feedback on this

Show city and country
Show country only
Hide my location
Leave your comment here:
Please type in the code:
photo Add a picture:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity. The owner of this web site reserves the right to delete such material.