The profile files in wpDiscuz are not compatible with the FluentCommunity plugin. How can I make the personal accounts in the comments compatible with FluentCommunity and redirect me to the profile in FluentCommunity?Change from: example.net/author/xxx to: example.net/portal/u/xxx
Issue [Solved] Profiles in wpDiscuz are not compatible with the FluentCommunity plugin.
+1 for that!
Hi,
You can use the wpdiscuz_profile_url hook: https://wpdiscuz.com/docs/codex/filters/wpdiscuz_profile_url/
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Thanks!
I tried using it, but it didn't work. Even just with a dummy link like:
add_filter('wpdiscuz_profile_url', function ($profile_url, $user) {
return home_url();
}, 10, 2);
On clicking on a user comments profile picture/name it redirected me to:
https://www.domain-name.com/author/user-name/
@asti I'm still waiting for your reply.
Could you please confirm whether the WordPress URLs are being redirected to the correct page as intended?
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
I'm not sure what's unclear in what I wrote that stirred this question. I wrote clearly:
"On clicking on a user comments profile picture/name it redirected me to:
https://www.domain-name.com/author/user-name /"
Meaning, it redirects to the default author page and not the homepage as it should have ("return home_url();").
We've tested the hook code multiple times, and it works as expected. Please try deactivating the profile plugin you're using and check whether the redirection functions correctly.
Also, make sure to clear all caches before testing.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
I deactivated the plugin and nothing changed. Also cleared all the cache and still it redirected to the author page and not the custom page set with the filter.
This kind of issue is usually caused by a conflict with other plugins or the active theme.
We recommend deactivating all plugins and switching to a default WordPress theme. Then check how the filter works. After that, activate your plugins and theme one by one, checking after each activation to find the problem maker.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
@asti I deactivated all the plugins and changed to the theme Twenty Twenty-Four. And still - it doesn't work.
@asti Ok, it works. There was no issue or conflict with any plugin/theme. What solved the problem was going to the settings ->User Authorization and Profile Data and just click save.
For anyone in the future that faces this problem.
Thank you for letting us know. Glad to hear that the issue is solved.
We're going to mark this thread as resolved. Feel free to open a new topic if you have further questions.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
-
My posts are not showing your Comments form
3 months ago
-
Stars removed from Google snippet after installing wpDiscuz
2 years ago
-
comment author info
2 years ago
-
Compatibility problems with WpDiscuz plugin
4 years ago
-
Форма комментариев wpDiscuz не отображается
5 years ago
- 8 Forums
- 4,275 Topics
- 21 K Posts
- 11 Online
- 4,697 Members

