Search code examples
wordpresstemplatesbuddypress

BuddyPress Custom Template Not Working


I have created a custom template for each member's individual profile page and stored the file within this file structure within my child theme:

BuddyPress > Members > Single > index.php

It is working fine on my local machine, however when I pushed to production this page is returning a 404 error. I've double checked, and everything looks correct.

I've also updated my .htaccess file, refreshed my permalinks, and double checked that I am indeed using my child theme with the BuddyPress template.

Any suggestions?


Solution

  • I was able to get this working. There was an issue with the custom url to each member profile page. Instead of using a member's username, Buddypress was looking for 'user_nicename' in the url.