We've started experiencing a problem where not all user links take you to their profile. Most links will take you to a link such as "/participant/toucan13" (where toucan13 is their username), but some links will only take you to "/participant" (no username). When this happens, it actually takes the user to their own profile. Can you help diagnose so I can fix?
Here are some examples of links that do not work:
- https://peakprosperity.com/complexity-energy-x-arrogance-ignorance-a-great-disaster/#comment-946742
- https://peakprosperity.com/complexity-energy-x-arrogance-ignorance-a-great-disaster/#comment-947219
- https://peakprosperity.com/complexity-energy-x-arrogance-ignorance-a-great-disaster/#comment-948295
Finally, I've attached a screenshot so you can see exactly which links I'm talking about
Hi aaronmckeon,
Please note, wpDiscuz uses the native (core) WordPress functions. If there are not any profile plugins you'll be redirected to the WordPress "author" page. Probably the author doesn't have an "author" page or one of the active plugins uses the same hooks and changes the redirection.
Hi Asti and Team - This is a follow-up to the following ticket. I received your notice the topic would be closed but I did not get in quickly enough to offer final remarks. This may be useful information for you.
https://wpdiscuz.com/community/troubleshooting/broken-user-profile-links/
We ended up determining the issue was caused by a lack of "Display Name" value in the WordPress user's record. Our CRM (Active Campaign) had pushed data to the site that caused this value to go blank. When no display name was set, the links to all the user profiles in wpDiscuz comments pointed to the wrong URL.
Under normal conditions, this issue would never present itself, but I thought it would be useful for you to know nonetheless. Thanks again.
-- Aaron