How to change default member page location?

Home Forums BP Profile Search Forum How to change default member page location?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10916 Reply
    Lane
    Guest

    Hello,

    I hope all is well. When I try to submit a search using the custom filters the plugin tries to load http://www.website.com/index.php/members for the results, however the members are located at http://www.website.com/members. When I manually delete the index.php from the URL the search works. Otherwise it loads a blank/empty page (because the address is not where members is). Is there a way to change the plugin to load the modified URL?

    Thanks!

    #10918 Reply
    andrea
    Keymaster

    Hello Lane,

    Please make sure your permalinks are correctly set up, and your .htaccess file is OK. If you are not sure how to do that, simply add this code to your bp-custom.php file:

    add_action ('bps_before_search_form', 'new_action');
    function new_action ($F)
    {
    	$F->action = 'http://www.website.com/members';
    }
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to change default member page location?
Your information: