Linux 软件免费装

BP 404s

开发者 zhuyi
更新时间 2017年2月17日 14:49
捐献地址: 去捐款
PHP版本: 2.0 及以上
WordPress版本: 4.7.2
版权: GPLv3 or later
版权网址: 版权信息

标签

profile 404 template buddypress error wp-config BP_ENABLE_ROOT_PROFILES buddyPress profiles root

下载

详情介绍:

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 );

安装:

1:Upload Buddypress 404s your site 2:Activate it 3:No any setting needed in back end. 1, 2, 3: You're done!

更新日志:

Version 1.0.0 First version