DelphiFAQ Home Search:
General :: Web publishing
Information about web publishing, how to maintain, optimize and promote a web site.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Recommended links on this topic:
Featured Article

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

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


Generated 0:03:17 on Dec 11, 2018