Answers.Body: <p>I've seen this happen when there are multiple WordPress accounts using the same email address.</p>
  
  <p>These values are stored in the <code>civicrm_uf_match</code> table of the database.  If my first suggestion doesn't pan out, you may want to browse that table and look for duplicate values for <code>contact_id</code> and <code>uf_id</code> (the "WordPress user id") corresponding to this user.  Delete the offending record(s) in this table and let CiviCRM recreate them.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-07T00:49:16.613Z
Answers.Text: Thanks that's really helpful. It was the civicrm_uf_match table as you suggested. Correcting the record to point at the right Civi and WP identifiers fixed the issue.
  
  Is there some way to do this from within the UI (i.e. without manually editing the database?)
Answers.UserDisplayName: Chris Carey
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-07T16:40:20.247Z
Answers.Text: @ChrisCarey There's a "middle option" between manually editing the database and the UI, which is the API Explorer.  I detail this technique for a very similar issue here: https://civicrm.stackexchange.com/a/18876/12
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-02T15:08:18.617Z
Answers.LastActivityDate: 2018-03-02T15:08:18.617Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>In the user detail view for a member with a WordPress account there's usually a link to the WordPress user record like so:</p>
  
  <p>Contact ID / User ID   :   1354  / <strong>1561</strong></p>
  
  <p>For one member the user ID doesn't appear and I'm stumped. </p>
  
  <ul>
  <li>I've deleted and recreated both the Civi and WP records several times. </li>
  <li>dumping the WP user record and toggling membership off/on does recreate the WP record (but doesn't show the link to it)</li>
  <li>We use the profile sync plugin and this is working fine (i.e. name changes sync to wordpress profile and vice versa)</li>
  </ul>
  
  <p>Digging through the template code shows the {$userRecordUrl} variable as the trigger for showing it or not, so I assume this isn't set somehow. </p>
  
  <p>Has anyone seen this behaviour? </p>
  
  <p>The user for whom it <em>does</em> work was created some time ago -- perhaps its functionality that is no longer present in 4.7? I can't find any documentation to support that though.</p>
  
  <p>thanks!
  - Chris</p>
  
Tags: <wordpress><civimember><contacts><profile>
Title: WordPress - user record URL doesn't show for one user. Can't see why?
ThreadText: # WordPress - user record URL doesn't show for one user. Can't see why?
  
  (Asked by: username_0 on 2018-03-02)
  
  In the user detail view for a member with a WordPress account there's usually a link to the WordPress user record like so:
  
  Contact ID / User ID : 1354 / **1561**
  
  For one member the user ID doesn't appear and I'm stumped.
  
  * I've deleted and recreated both the Civi and WP records several times.
  * dumping the WP user record and toggling membership off/on does recreate the WP record (but doesn't show the link to it)
  * We use the profile sync plugin and this is working fine (i.e. name changes sync to wordpress profile and vice versa)
  
  Digging through the template code shows the {$userRecordUrl} variable as the trigger for showing it or not, so I assume this isn't set somehow.
  
  Has anyone seen this behaviour?
  
  The user for whom it *does* work was created some time ago -- perhaps its functionality that is no longer present in 4.7? I can't find any documentation to support that though.
  
  thanks!
  - username_0
  
  **Tags:** wordpress, civimember, contacts, profile
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-03-02. Score: 0 | Accepted answer
  
  I've seen this happen when there are multiple WordPress accounts using the same email address.
  
  These values are stored in the `civicrm_uf_match` table of the database. If my first suggestion doesn't pan out, you may want to browse that table and look for duplicate values for `contact_id` and `uf_id` (the "WordPress user id") corresponding to this user. Delete the offending record(s) in this table and let CiviCRM recreate them.
  
  > **Comments:**
  > **username_0**: Thanks that's really helpful. It was the civicrm_uf_match table as you suggested. Correcting the record to point at the right Civi and WP identifiers fixed the issue.  Is there some way to do this from within the UI (i.e. without manually editing the database?)  
  > **username_1**: @username_0 There's a "middle option" between manually editing the database and the UI, which is the API Explorer.  I detail this technique for a very similar issue here: https://civicrm.stackexchange.com/a/18876/12  
  
  ---
  
  