Answers.Body: <p>The easiest way would probably be to override this value in civicrm.settings.php.
  There should be a commented out line something like:</p>
  
  <pre><code>// $civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = '....';
  </code></pre>
  
  <p>You can uncomment this line by removing the leading '//' and edit the url. 
  Make a backup of civicrm.settings.php first.</p>
  
  <p>If you wanted to make a change in the database you can do this by editing the value of civicrm_setting for the row with name "userFrameworkResourceURL".</p>
  
  <p>I'd recommend backing up the database or at least that table first.</p>
  
  <p>If you have logging enabled via (Admin -> System Settings ->  Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.) ) </p>
  
  <p>You could find the previous value for this in the log_civicrm_setting table.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-25T00:02:11.023Z
Answers.Text: Luke - Thank you for your very prompt reply and for the advice.  I'll give changing the database setting a try.
Answers.UserDisplayName: peterb
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-25T12:06:51.687Z
Answers.Text: Luke - I managed to change the database setting but it didn't immediately solve my problem.  However, I did eventually get into CiviCRM admin where the Resource URL was showing as blank.  I changed it to [civicrm.root]/ and now things seem to be fine.  Thanks again for your help.
Answers.UserDisplayName: peterb
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-24T20:31:24.590Z
Answers.LastActivityDate: 2020-01-24T20:31:24.590Z
Answers.UserDisplayName: Luke Stewart
Body: <p>Wordpress 5.3.2    CiviCRM 5.21.0</p>
  
  <p>I've recently upgraded to CiviCRM 5.21.0 successfully and everything was working fine. </p>
  
  <p>Whilst tidying up the site, I inadvertently and stupidly changed the CiviCRM Resource URL to the site URL (not the full path) instead of [civicrm.root]/
  I now cannot get into CiviCRM admin through Wordpress admin so am unable to change the resource URL back to how it was.</p>
  
  <p>Does anyone know a way of resettting things through FTP or phpMyAdmin please?</p>
  
  <p>The settings in civicrm-settings.php seem OK.  I've tried reinstalling CiviCRM but still cannot get into Admin. </p>
  
  <p>Many thanks.</p>
  
Tags: <wordpress><resource-urls>
Title: Locked out of CiviCRM admin
ThreadText: # Locked out of CiviCRM admin
  
  (Asked by: username_0 on 2020-01-24)
  
  Wordpress 5.3.2 CiviCRM 5.21.0
  
  I've recently upgraded to CiviCRM 5.21.0 successfully and everything was working fine.
  
  Whilst tidying up the site, I inadvertently and stupidly changed the CiviCRM Resource URL to the site URL (not the full path) instead of [civicrm.root]/
  I now cannot get into CiviCRM admin through Wordpress admin so am unable to change the resource URL back to how it was.
  
  Does anyone know a way of resettting things through FTP or phpMyAdmin please?
  
  The settings in civicrm-settings.php seem OK. I've tried reinstalling CiviCRM but still cannot get into Admin.
  
  Many thanks.
  
  **Tags:** wordpress, resource-urls
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-24. Score: 3 | Accepted answer
  
  The easiest way would probably be to override this value in civicrm.settings.php.
  There should be a commented out line something like:
  
  ```
  // $civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = '....';
  
  ```
  
  You can uncomment this line by removing the leading '//' and edit the url.
  Make a backup of civicrm.settings.php first.
  
  If you wanted to make a change in the database you can do this by editing the value of civicrm\_setting for the row with name "userFrameworkResourceURL".
  
  I'd recommend backing up the database or at least that table first.
  
  If you have logging enabled via (Admin -> System Settings -> Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.) )
  
  You could find the previous value for this in the log\_civicrm\_setting table.
  
  > **Comments:**
  > **username_0**: username_1 - Thank you for your very prompt reply and for the advice.  I'll give changing the database setting a try.  
  > **username_0**: username_1 - I managed to change the database setting but it didn't immediately solve my problem.  However, I did eventually get into CiviCRM admin where the Resource URL was showing as blank.  I changed it to [civicrm.root]/ and now things seem to be fine.  Thanks again for your help.  
  
  ---
  
  