跳到内容

BP 404s

v1.0

Tomas · 2017年2月17日 上架

Fixed Buddypress 404 error when put buddyPress profiles in the root

正在使用
10 以下
评分
暂无
累计下载
1,403
最近更新
2017年2月17日
需要 WordPress 2.0+已测试到 4.7.40

贡献者

Buddypress is great platform which have a lot of amazing features, for example, allow users put buddyPress profiles in the root, enabled this feature will change user’s profile URL from https://mydomain.com/members/tomas/ to https://mydomain.com/tomas/, it is a great feature which make our site more user-friendly. The problem is when we enabled this feature, although in front end buddypress will manually redirect our users profile to https://mydomain.com/usersname/, but in back end we will find there are a tons of 404 errors, I traced these 404 errors and I found when users open a user’s profile or activity pagea and so on, buddypress will general a lot of 404 errors in back end, the number of 404 error is decided by how many users links in the activity page. I did a research and I found other guys have this problem but did not have a solution yet — https://buddypress.org/support/topic/bp-enable-root-profiles-produces-404-errors-2/, I am happy to share my solution in here and it is very simple(of course used my hard work days), hope this will help other webmasters who enabled root profile feature, that is a great feature, user-first, always. 🙂

How To Use:

This plugin is very easy to use, just download, activated it, no any setting work needed, all 404 errors will gone away. 🙂

If you do not know how to put buddyPress profiles in the root, it is very easy:
In your wp-config.php, add this line:
define ( ‘BP_ENABLE_ROOT_PROFILES’, true );

Download

https://tomas.zhu.bz/buddypress-404s/

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums