Outside the Cube (8817)
Web publishing (65)
about DelphiFAQ (14)
perl CGI (3)
Web Hosting (8)
New related comments
Number of comments in the last 48 hours
Getting started with CSS
My web page redirects from afiliate.site.com to www.site.com
This 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:
Notice the two / in the URL, caused by a scripting error - The page that loaded in the browser was:
This was with Apache 2.0