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:

2013-06-12, 11:05:40
anonymous from Israel  
הלוואות מדינה, הלוואות בערבות מדינה, הלוואה בערבות מדינה, קרנות בערבות מדינה, הלוואות מדינה בערבות מדינה לעסקים קטנים
http://alonfinance.co.il/

 

 

NEW: Optional: Register   Login
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, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

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.

photo Add a picture: