BuddyDev

Search

[Resolved] can't change buddyblog slug in my permalinks

  • Participant
    Level: Initiated
    Posts: 4
    karen on #32175

    Hi, I’m pretty new to wordpress and having a hard time changing the slug.
    I’m probably doing something incorrect so I thought I’d ask for some help?

    Here is the code I have:

    <?php/ define( ‘BP_BUDDYBLOG_SLUG’, ‘blog’ );?>

    I put it in my text editor and saved the file. Then I uploaded the file in wp-content/plugins
    It didn’t work.

    What is my error? Can anyone walk me through it? Usually I go to youtube for help or search forums to learn but I can’t find much more detail on it. Only the basic steps which I’m having trouble with for some reason.

    Right now the urls all look like this still “siteunderconstruction.com/user/buddyblog/edit/”

    Any help I can get would be very appreciated! Thanks for taking the time to read this!

    Karen

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #32203

    Hi Karen,
    Welcome to BuddyDev.

    Is the file named bp-custom.php ?

    Which version fo BuddyBlog are you using? Please let me know and I will assist.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    karen on #32270

    yes bp-custom.php but every text editor I use ads .txt at the end so it is bp-custom.php.txt
    is that the issue?

    I’m using Budddyblog Version 1.3.6

    Thanks for helping!

  • Participant
    Level: Initiated
    Posts: 4
    karen on #32298

    I edited the file and set it to just bp-custom.php and it’s still not working. I don’t know what I’m doing wrong at this point.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #32300

    Hi Karen,
    I am not sure what you are doing but putting this line in bp-custom.php

    
    <?php
    
    define( 'BP_BUDDYBLOG_SLUG', 'blog' );
    
    

    Is working for me. Just tested again.

    Please make sure the file is named “bp-custom.php” and not “bp-custom.php.txt”.

    I do not use Windows but it seems if you use the file name in quotes, eg

    
    "bp-custom.php"
    

    The notepad will not save it as text and should work.

    Regardds
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    karen on #32318

    Success!

    I’m really not sure what I did differently but comparing the code you gave me to what I found in the forums

    I had a slash in there <?php/ define( ‘BP_BUDDYBLOG_SLUG’, ‘blog’ );?>

    I copy pasted your code and saved it as you said and it finally worked!

    Thanks for your help! I’ve been trying to learn more about wordpress and it’s been so frustrating.

    Thanks again!

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #32347

    Hi Karen,
    I am glad you resolved it.

    I am sorry to hear about your experience with WordPress so far. I hope it gets better from now on.

    All the best 🙂

    Regards
    Brajesh

The topic ‘ [Resolved] can't change buddyblog slug in my permalinks’ is closed to new replies.

This topic is: resolved