Answers.Body: <p>Fixed!!!</p>
  
  <p>CIVICRM_UF_BASEURL has to have www</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-28T16:08:22.350Z
Answers.Text: For a full description of the problem and solution, check out http://civicrm.stackexchange.com/a/3233/44.  Basically, it's best to stick with only one address and set up redirects so that everyone uses that URL.
Answers.UserDisplayName: Andie Hunt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-27T07:42:53.543Z
Answers.Text: Jennifer - can you accept your own answer and keep SE happy
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-28T05:02:23.443Z
Answers.LastActivityDate: 2015-12-28T05:02:23.443Z
Answers.UserDisplayName: Jennifer Bertha
Body: <p>I have two types of contribution page (for different purposes) one requires sign in and the other does not. 
  When a user goes to go to either contribution page for the very first time and clicks on confirm payment, the system goes into an endless loop that ends up on the Home page.  If from there one goes to the  contribution page again, it works fine.</p>
  
  <p>Any Ideas what could be causing this?  Oddly it does not happen when someone registers to an event. </p>
  
  <p>Please any feedback is welcome, I need this fixed before the end of ther year.  </p>
  
  <p>Thank you</p>
  
  <p>Edited:</p>
  
  <p>I figured out the problem, but not yet the solution.  it has to do with the URL intial URL has www.xxxx.com once it is sent back to the Home page the URL is xxxx.com (no www) </p>
  
  <p>the setting in the civicrm.settings.php does not have the www.  Is this right???  should it have the www???  any help is appreciated.</p>
  
  <p>thank you</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-28T02:29:47.203Z
Comments.Text: What CMS and Civi version? Any redirect plugins/modules installed on the CMS?
Comments.UserDisplayName: Allen Hutchison
Tags: <contributions>
Title: Problem with contribution - redirect to Home Page
ThreadText: # Problem with contribution - redirect to Home Page
  
  (Asked by: username_0 on 2015-12-28)
  
  I have two types of contribution page (for different purposes) one requires sign in and the other does not.
  When a user goes to go to either contribution page for the very first time and clicks on confirm payment, the system goes into an endless loop that ends up on the Home page. If from there one goes to the contribution page again, it works fine.
  
  Any Ideas what could be causing this? Oddly it does not happen when someone registers to an event.
  
  Please any feedback is welcome, I need this fixed before the end of ther year.
  
  Thank you
  
  Edited:
  
  I figured out the problem, but not yet the solution. it has to do with the URL intial URL has www.xxxx.com once it is sent back to the Home page the URL is xxxx.com (no www)
  
  the setting in the civicrm.settings.php does not have the www. Is this right??? should it have the www??? any help is appreciated.
  
  thank you
  
  **Tags:** contributions
  
  > **Comments:**
  > **username_1**: What CMS and Civi version? Any redirect plugins/modules installed on the CMS?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-12-28. Score: 1
  
  Fixed!!!
  
  CIVICRM\_UF\_BASEURL has to have www
  
  > **Comments:**
  > **username_2**: For a full description of the problem and solution, check out http://civicrm.stackexchange.com/a/3233/44.  Basically, it's best to stick with only one address and set up redirects so that everyone uses that URL.  
  > **username_3**: Jennifer - can you accept your own answer and keep SE happy  
  
  ---
  
  