Answers.Body: <p>Can you also update the base URL in <code>wp-content/uploads/civicrm/civicrm.settings.php</code></p>
  <p>Find for <code>CIVICRM_UF_BASEURL</code> in the file and update the domain URL. Should be something below</p>
  <pre><code>define( 'CIVICRM_UF_BASEURL', 'http://www.domainname.org/');
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-25T08:19:05.610Z
Answers.Text: I've replaced all IP address entries with domain names in the 'civicrm.settings.php' file and now it works like a charm.  Thank you so much.
Answers.UserDisplayName: Oscar Liu
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-24T14:33:31.897Z
Answers.LastActivityDate: 2022-11-24T14:33:31.897Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>I installed wordpress and then via the Wordpress <em>Settings --&gt; General</em> I changed <strong>WordPress Address (URL)</strong> and <strong>Site Address (URL)</strong> from http:localhost to my public address of, say, http:123.123.123.123. I could then publicly connect to my website and login to Wordpress admin. I then performed the installation of the CiviCRM plugin. This created the file civicrm.settings.php in my /srv/www/wordpress/wp-content/uploads/civicrm/ folder. The CiviCRM menu bar is displayed OK.</p>
  <p>I then searched the civicrm.settings.php file for localhost and searched it for 123.123.123.123. The results were as follows:</p>
  <pre><code>administrator@wpserver:/srv/www/wordpress/wp-content/uploads/civicrm$ cat civicrm.settings.php | grep localhost
     define( 'CIVICRM_UF_DSN'   , 'mysql://wordpress:mypassword@localhost/wordpress?new_link=true');  
  *      define( 'CIVICRM_DSN'         , 'mysql://cms:YOUR_PASSWORD@localhost/cms?new_link=true');  
  *      define( 'CIVICRM_DSN'         , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true');
      define('CIVICRM_DSN', 'mysql://wordpress:mypassword@localhost/wordpress?new_link=true');
     define('CIVICRM_DB_CACHE_HOST', 'localhost');
  
  administrator@wpserver:/srv/www/wordpress/wp-content/uploads/civicrm$ cat civicrm.settings.php | grep 123.123.123.123
  $civicrm_paths['wp.frontend.base']['url'] = 'http://123.123.123.123/'; 
  $civicrm_paths['wp.backend.base']['url'] = 'http://123.123.123.123/wp-admin/'; 
  $civicrm_setting['domain']['userFrameworkResourceURL'] = 'http://123.123.123.123/wp-content/plugins/civicrm/civicrm';
     define( 'CIVICRM_UF_BASEURL'      , 'http://123.123.123.123');
  </code></pre>
  <p>In summary 5 x localhost and 4 x 123.123.123.123.</p>
  <p>I did the whole installation again but this time in a different order. I installed Wordpress, then installed the CiviCRM plugin, then logged in to Wordpress admin and in Wordpress <em>Settings --&gt; General</em> I changed <strong>WordPress Address (URL)</strong> and <strong>Site Address (URL)</strong> from http:localhost to http:123.123.123.123. Now when I make a remote connection and login to Wordpress admin the CiviCRM Menu bar is <strong>not</strong> displayed.</p>
  <p>If I search civicrm.settings.php then there are now 9 x localhost and no 123.123.123.123. Changing just the one setting as suggested above by Pradeep or changing all settings as Oscar suggested, does not solve the problem. Edit the civicrm.settings.php file and change localhost to 123.123.123.123 in the lines of code shown above. In my case, with Wordpress 6.2.2 and CiviCRM 5.61.3 these changes were at lines: 77, 78, 79, and 249.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-22T10:47:17.110Z
Answers.LastActivityDate: 2023-05-22T10:54:38.660Z
Answers.LastEditDate: 2023-05-22T10:54:38.660Z
Answers.UserDisplayName: irs
Body: <p>I have installed CiviCRM on WordPress and it works well when I set the WordPress Address (URL) and Site Address (URL) as an internal IP address.
  <a href="https://i.sstatic.net/VBlIs.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VBlIs.jpg" alt="enter image description here" /></a></p>
  <p>After I replace both fields with my domain name, WordPress can still be reached and the login screen is shown.  However, after logging in, the CiviCRM Home showed an incomplete page.  Only &quot;Access Keys:_&quot; and the footer are shown with no menu on CiviCRM top.
  <a href="https://i.sstatic.net/DMJvU.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/DMJvU.jpg" alt="enter image description here" /></a></p>
  <p>Can anyone help point me in the right direction about how to troubleshoot?</p>
  
Tags: <wordpress><menu><domain>
Title: Dashboard and menu not shown when using domain name instead of IP address
ThreadText: # Dashboard and menu not shown when using domain name instead of IP address
  
  (Asked by: username_0 on 2022-11-24)
  
  I have installed CiviCRM on WordPress and it works well when I set the WordPress Address (URL) and Site Address (URL) as an internal IP address.
  [![enter image description here](https://i.sstatic.net/VBlIs.jpg)](https://i.sstatic.net/VBlIs.jpg)
  
  After I replace both fields with my domain name, WordPress can still be reached and the login screen is shown. However, after logging in, the CiviCRM Home showed an incomplete page. Only "Access Keys:\_" and the footer are shown with no menu on CiviCRM top.
  [![enter image description here](https://i.sstatic.net/DMJvU.jpg)](https://i.sstatic.net/DMJvU.jpg)
  
  Can anyone help point me in the right direction about how to troubleshoot?
  
  **Tags:** wordpress, menu, domain
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2022-11-24. Score: 0 | Accepted answer
  
  Can you also update the base URL in `wp-content/uploads/civicrm/civicrm.settings.php`
  
  Find for `CIVICRM_UF_BASEURL` in the file and update the domain URL. Should be something below
  
  ```
  define( 'CIVICRM_UF_BASEURL', 'http://www.domainname.org/');
  
  ```
  
  > **Comments:**
  > **username_0**: I've replaced all IP address entries with domain names in the 'civicrm.settings.php' file and now it works like a charm.  Thank you so much.  
  
  ---
  
  ### Answer by username_2 on 2023-05-22. Score: 0
  
  I installed wordpress and then via the Wordpress *Settings --> General* I changed **WordPress Address (URL)** and **Site Address (URL)** from http:localhost to my public address of, say, http:123.123.123.123. I could then publicly connect to my website and login to Wordpress admin. I then performed the installation of the CiviCRM plugin. This created the file civicrm.settings.php in my /srv/www/wordpress/wp-content/uploads/civicrm/ folder. The CiviCRM menu bar is displayed OK.
  
  I then searched the civicrm.settings.php file for localhost and searched it for 123.123.123.123. The results were as follows:
  
  ```
  administrator@wpserver:/srv/www/wordpress/wp-content/uploads/civicrm$ cat civicrm.settings.php | grep localhost
     define( 'CIVICRM_UF_DSN'   , 'mysql://wordpress:mypassword@localhost/wordpress?new_link=true');  
  *      define( 'CIVICRM_DSN'         , 'mysql://cms:YOUR_PASSWORD@localhost/cms?new_link=true');  
  *      define( 'CIVICRM_DSN'         , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true');
      define('CIVICRM_DSN', 'mysql://wordpress:mypassword@localhost/wordpress?new_link=true');
     define('CIVICRM_DB_CACHE_HOST', 'localhost');
  
  administrator@wpserver:/srv/www/wordpress/wp-content/uploads/civicrm$ cat civicrm.settings.php | grep 123.123.123.123
  $civicrm_paths['wp.frontend.base']['url'] = 'http://123.123.123.123/'; 
  $civicrm_paths['wp.backend.base']['url'] = 'http://123.123.123.123/wp-admin/'; 
  $civicrm_setting['domain']['userFrameworkResourceURL'] = 'http://123.123.123.123/wp-content/plugins/civicrm/civicrm';
     define( 'CIVICRM_UF_BASEURL'      , 'http://123.123.123.123');
  
  ```
  
  In summary 5 x localhost and 4 x 123.123.123.123.
  
  I did the whole installation again but this time in a different order. I installed Wordpress, then installed the CiviCRM plugin, then logged in to Wordpress admin and in Wordpress *Settings --> General* I changed **WordPress Address (URL)** and **Site Address (URL)** from http:localhost to http:123.123.123.123. Now when I make a remote connection and login to Wordpress admin the CiviCRM Menu bar is **not** displayed.
  
  If I search civicrm.settings.php then there are now 9 x localhost and no 123.123.123.123. Changing just the one setting as suggested above by username_1 or changing all settings as username_0 suggested, does not solve the problem. Edit the civicrm.settings.php file and change localhost to 123.123.123.123 in the lines of code shown above. In my case, with Wordpress 6.2.2 and CiviCRM 5.61.3 these changes were at lines: 77, 78, 79, and 249.
  
  
  ---
  
  