Change Staff Profile URL Prefix

This topic is: resolved

Tagged: , , ,

This topic contains 2 replies, has 2 voices, and was last updated by Kzkotval kzkotval 3 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16558
    Kzkotval
    kzkotval
    Member
    Post count: 23

    I want to change the URL prefix when I click on a staff member’s profile. For clarification, I want the bolded text to read “team” instead of “faculty”

    correct:
    http://dev-asuc-student-union.pantheon.berkeley.edu/team/theresa-ajari/

    incorrect:
    http://dev-asuc-student-union.pantheon.berkeley.edu/faculty/theresa-ajari/

    I modified the custom-post-types.php file in frramework > presentation, but when I modified line 315 to read:

    'rewrite' => array( 'slug' => 'team' ),

    BUT, when I made this change, all my staff profiles were going to broken pages when I clicked on them. I also checked the CMS to see if the URL was changed there, and it was. Is there another location where I need to make this change?

    • This topic was modified 3 years, 11 months ago by Kzkotval kzkotval.
    • This topic was modified 3 years, 11 months ago by Kzkotval kzkotval.
    • This topic was modified 3 years, 11 months ago by Kzkotval kzkotval.
    #16563
    Veena
    Veena
    Moderator
    Post count: 8142

    You will need to visit Settings->Permalinks once for the change to take effect.

    #16576
    Kzkotval
    kzkotval
    Member
    Post count: 23

    That worked, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Change Staff Profile URL Prefix’ is closed to new replies.