Change Staff Profile URL Prefix

Tagged: , , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16558
    kzkotval
    Member

    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?

    #16563
    Veena
    Moderator

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

    #16576
    kzkotval
    Member

    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.