Answers.Body: <p>For a domain change, look at the civicrm.settings.php file the 'CIVICRM_UF_BASEURL' is the field you are looking for.</p>
  
  <p>For CiviCRM version 4.7.x this will be in wp-content/uploads/civicrm/<br>
  For CiviCRM versions 4.6.x and lower this will be in wp-content/plugins/civicrm/</p>
  
  <p>You may also need to make changes for WP, but this is what you'll need to start with for CiviCRM.  In addition, the CIVICRM_UF_BASEURL setting must match the Site Address (URL) in the WP General Settings.</p>
  
  <p>Update:
  Ensure that CIVICRM_UF_BASEURL  reads as below:</p>
  
  <pre><code>define( 'CIVICRM_UF_BASEURL'      , 'http://sweetfields.org');
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T12:46:10.067Z
Answers.Text: Thank you for answering, hopefully you can help me a bit more I'm still stuck. I truly cannot find that file. I just downloaded CiviCRM recently so I imagine I have 4.7.x. There is no uploads folder. I looked in the other folder for 4.6.x versions too it's not there. I looked on CiviCRM's core GitHub page (https://github.com/civicrm/civicrm-core) and I can't find the file either. Do you mean civicrm.settings.php.template? I can find that file in wp-content/plugins/civicrm/civicrm/templates/CRM/common
Answers.UserDisplayName: Barbara Donnini
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T13:11:27.450Z
Answers.Text: There has to be a civicrm.settings.php file.   The file should be in one of those places.  Can you search the files via file manager to find it?  I would expect you to check in /home/<your-user-name>/www/www/wp-content/ to find the file based on the link you gave above.  Then look in uploads/civicrm.  If that is not there, look in plugins/civicrm
Answers.UserDisplayName: Kevin Cristiano
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T13:45:05.727Z
Answers.Text: I just posted a screenshot of the search results, it doesn't look like it's there. It seems like others have had this issue of the missing file, but I'm not sure what to try first I'm scared of breaking the site...
  
  http://civicrm.stackexchange.com/questions/9776/word-press-install-missing-civicrm-settings-php-dashboard-unavailable-no-menus
    and  
  https://forum.civicrm.org/index.php?topic=34290.0
  
  I also checked FileZilla and don't see the file there either.
Answers.UserDisplayName: Barbara Donnini
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T13:50:13.697Z
Answers.Text: Also in the installation it says to create this folder "<wordpress path>/wp-content/plugins/files/ directory " which I did, and I checked that folder but the settings file is still not there.
Answers.UserDisplayName: Barbara Donnini
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T13:57:38.417Z
Answers.Text: I can try re-installing it again, but it seems to be pulling information from the old site somehow (I guess the database?)... I'm fine with starting completely over but I can't even figure out how to do that, it has all my pages saved apparently.
Answers.UserDisplayName: Barbara Donnini
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T17:36:17.217Z
Answers.Text: I tried deleting everything including the "files" folder and re-instalilng and it isn't working... it's not treating it as a new install it's somehow accessing old data... anyone have any idea what to do?
Answers.UserDisplayName: Barbara Donnini
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T19:52:39.007Z
Answers.Text: The settings file for this site is indeed in wp-content/uploads/civicrm
Answers.UserDisplayName: Hershel
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T20:02:58.000Z
Answers.Text: OMG I AM SO SORRY I READ THAT URL TOTALLY WRONG THE FIRST TIME KEVIN SENT IT! APOLOGIES! Found the file!! Progress! Here's the bad news: It already has the correct (new) link in it:
  
    define( 'CIVICRM_UF_BASEURL'      , 'http://sweetfields.org/');
Answers.UserDisplayName: Barbara Donnini
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T21:09:23.533Z
Answers.Text: see above change to the answer for the syntax.
Answers.UserDisplayName: Kevin Cristiano
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-07T02:48:45.103Z
Answers.Text: I am SO SORRY to everyone I was messing around with the files and apparently our host changed it to sweetfields.org but I didn't get the email until later so now everything seems to be working. Sorry to bother everyone I was freaking out because I thought we lost it all!
Answers.UserDisplayName: Barbara Donnini
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T04:55:32.967Z
Answers.LastActivityDate: 2016-06-06T21:08:52.297Z
Answers.LastEditDate: 2016-06-06T21:08:52.297Z
Answers.UserDisplayName: Kevin Cristiano
Body: <p>Our website is being hosted by CiviHosting, but our Domain and Email are with another hosting company. The other hosting company just changed the DNS to point to CiviHosting, so that our domain would work with the CiviHosting account, and now I can't edit the contribution pages I made (or create a new contribution page). Specifically, I went to contributions >> manage contribution pages and then chose "configure" and then "Title and settings" for one of the pages and it redirected me to the /wp-admin Wordpress dashboard. </p>
  
  <p>I tried a different page same thing. </p>
  
  <p>I tried creating a new page and it let me type everything in but when I hit "save" it took me back to the /wp-admin page.</p>
  
  <p>I tried deactivating and reactivating the plugin. Didn't work.</p>
  
  <p>I tried removing all the files from the server through FTP, and reinstalling a brand new installation of CiviCRM. Didn't work.</p>
  
  <p>I removed the new installation and put my old civicrm files back. Didn't work.</p>
  
  <p>I have been Google Searching for a while and I tried finding config.settings.php as many sites suggest, but the only thing I could find was config.settings.php.template which I did attempt to modify in the way they described (changing the base URL) and that didn't work either. I changed it back to the original and re-uploaded it via FTP.</p>
  
  <p>I looked through civicrm.config.php in case that was the file I was supposed to modify, but couldn't find a place to change the URL.</p>
  
  <p>I tried going through the settings menu of CiviCRM, specifically the resources and directories paths and they all look like relative references (see attached) so I'm not sure what I'd change.</p>
  
  <p>If you go to the actual pages, they do work, but I have no way of modifying them... (here's an example live page: <a href="http://sweetfields.org/civicrm/?page=CiviCRM&amp;q=civicrm/contribute/transact&amp;reset=1&amp;id=1" rel="nofollow">http://sweetfields.org/civicrm/?page=CiviCRM&amp;q=civicrm/contribute/transact&amp;reset=1&amp;id=1</a>)</p>
  
  <p>Any idea what broke and how to fix it?</p>
  
  <p>Thanks!</p>
  
  <p>UPDATE: I just noticed that when you click on the link I provided in this post, it is referencing an old version of the site... I removed the black login bar at the top of the page. If you go to sweetfields.org now you'll notice the black bar is gone but for some reason it's there for the CiviContribute page... the plugin must be somehow referencing old files?</p>
  
  <p>UPDATE 2: Found the file! But, it already has the correct URL in it for the base_url: "  define( 'CIVICRM_UF_BASEURL'      , '<a href="http://sweetfields.org/" rel="nofollow">http://sweetfields.org/</a>');" so I'm guessing that's not the problem?</p>
  
  <p>UPDATE 3: Should I delete all tables in the database that start with "civicrm_" and delete all files and then try re-installing?</p>
  
Tags: <wordpress><civicontribute><contribution-page><urls><resource-urls>
Title: Can't Edit CiviContribute Pages after URL Change
ThreadText: # Can't Edit CiviContribute Pages after URL Change
  
  (Asked by: username_0 on 2016-06-06)
  
  Our website is being hosted by CiviHosting, but our Domain and Email are with another hosting company. The other hosting company just changed the DNS to point to CiviHosting, so that our domain would work with the CiviHosting account, and now I can't edit the contribution pages I made (or create a new contribution page). Specifically, I went to contributions >> manage contribution pages and then chose "configure" and then "Title and settings" for one of the pages and it redirected me to the /wp-admin Wordpress dashboard.
  
  I tried a different page same thing.
  
  I tried creating a new page and it let me type everything in but when I hit "save" it took me back to the /wp-admin page.
  
  I tried deactivating and reactivating the plugin. Didn't work.
  
  I tried removing all the files from the server through FTP, and reinstalling a brand new installation of CiviCRM. Didn't work.
  
  I removed the new installation and put my old civicrm files back. Didn't work.
  
  I have been Google Searching for a while and I tried finding config.settings.php as many sites suggest, but the only thing I could find was config.settings.php.template which I did attempt to modify in the way they described (changing the base URL) and that didn't work either. I changed it back to the original and re-uploaded it via FTP.
  
  I looked through civicrm.config.php in case that was the file I was supposed to modify, but couldn't find a place to change the URL.
  
  I tried going through the settings menu of CiviCRM, specifically the resources and directories paths and they all look like relative references (see attached) so I'm not sure what I'd change.
  
  If you go to the actual pages, they do work, but I have no way of modifying them... (here's an example live page: <http://sweetfields.org/civicrm/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=1>)
  
  Any idea what broke and how to fix it?
  
  Thanks!
  
  UPDATE: I just noticed that when you click on the link I provided in this post, it is referencing an old version of the site... I removed the black login bar at the top of the page. If you go to sweetfields.org now you'll notice the black bar is gone but for some reason it's there for the CiviContribute page... the plugin must be somehow referencing old files?
  
  UPDATE 2: Found the file! But, it already has the correct URL in it for the base\_url: " define( 'CIVICRM\_UF\_BASEURL' , '<http://sweetfields.org/>');" so I'm guessing that's not the problem?
  
  UPDATE 3: Should I delete all tables in the database that start with "civicrm\_" and delete all files and then try re-installing?
  
  **Tags:** wordpress, civicontribute, contribution-page, urls, resource-urls
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-06. Score: 1 | Accepted answer
  
  For a domain change, look at the civicrm.settings.php file the 'CIVICRM_UF_BASEURL' is the field you are looking for.
  For CiviCRM version 4.7.x this will be in wp-content/uploads/civicrm/
  For CiviCRM versions 4.6.x and lower this will be in wp-content/plugins/civicrm/
  You may also need to make changes for WP, but this is what you'll need to start with for CiviCRM.  In addition, the CIVICRM_UF_BASEURL setting must match the Site Address (URL) in the WP General Settings.
  Update:
  Ensure that CIVICRM_UF_BASEURL  reads as below:
  define( 'CIVICRM_UF_BASEURL'      , 'http://sweetfields.org');
  
  > **Comments:**
  > **username_0**: Thank you for answering, hopefully you can help me a bit more I'm still stuck. I truly cannot find that file. I just downloaded CiviCRM recently so I imagine I have 4.7.x. There is no uploads folder. I looked in the other folder for 4.6.x versions too it's not there. I looked on CiviCRM's core GitHub page (https://github.com/civicrm/civicrm-core) and I can't find the file either. Do you mean civicrm.settings.php.template? I can find that file in wp-content/plugins/civicrm/civicrm/templates/CRM/common  
  > **username_1**: There has to be a civicrm.settings.php file.   The file should be in one of those places.  Can you search the files via file manager to find it?  I would expect you to check in /home/<your-user-name>/www/www/wp-content/ to find the file based on the link you gave above.  Then look in uploads/civicrm.  If that is not there, look in plugins/civicrm  
  > **username_0**: I just posted a screenshot of the search results, it doesn't look like it's there. It seems like others have had this issue of the missing file, but I'm not sure what to try first I'm scared of breaking the site...  http://civicrm.stackexchange.com/questions/9776/word-press-install-missing-civicrm-settings-php-dashboard-unavailable-no-menus   and   https://forum.civicrm.org/index.php?topic=34290.0  I also checked FileZilla and don't see the file there either.  
  > **username_0**: Also in the installation it says to create this folder "<wordpress path>/wp-content/plugins/files/ directory " which I did, and I checked that folder but the settings file is still not there.  
  > **username_0**: I can try re-installing it again, but it seems to be pulling information from the old site somehow (I guess the database?)... I'm fine with starting completely over but I can't even figure out how to do that, it has all my pages saved apparently.  
  > **username_0**: I tried deleting everything including the "files" folder and re-instalilng and it isn't working... it's not treating it as a new install it's somehow accessing old data... anyone have any idea what to do?  
  > **username_2**: The settings file for this site is indeed in wp-content/uploads/civicrm  
  > **username_0**: OMG I AM SO SORRY I READ THAT URL TOTALLY WRONG THE FIRST TIME KEVIN SENT IT! APOLOGIES! Found the file!! Progress! Here's the bad news: It already has the correct (new) link in it:    define( 'CIVICRM_UF_BASEURL'      , 'http://sweetfields.org/');  
  > **username_1**: see above change to the answer for the syntax.  
  > **username_0**: I am SO SORRY to everyone I was messing around with the files and apparently our host changed it to sweetfields.org but I didn't get the email until later so now everything seems to be working. Sorry to bother everyone I was freaking out because I thought we lost it all!  
  
  ---
  
  