Topics Map > Getting Started
Topics Map > UW Theme Functionality > Custom Post Types

WiscWeb - WordPress UW Theme - Changing the Fac/Staff Slug

The following document will walk you through the process of changing the post "slug" for the Faculty/Staff custom post type.

 What is the Fac/Staff Slug?

The Fac/Staff slug is part of the URL that appears on faculty/staff bio pages. It is essentially the URL version of the page name.

The structure of the URL for bio pages looks like this (slug highlighted):

https://yoursitename.wiscweb.wisc.edu/staff/bucky-badger

The slug, by default, is set to "staff." However, this can be customized if the term "staff" does not apply to the content of your bio pages. Examples of alternative slugs include "people," "facstaff," and "alumni." 

 Updating the Fac/Staff Slug

To update the Fac/Staff slug, follow these steps:
  1. Login to your site's dashboard in WiscWeb
  2. On the left hand menu, select Faculty/Staff Members
  3. Choose Settings
  4. In the URL Slug field, type in the new slug you'd like to use
  5. Select Save Changes

 Recommended Naming Conventions

Slugs, in WordPress, should follow these naming conventions:

Do's
  • Use hyphens ( - ) to separate multiple words
  • Use lowercase letters
  • Use relevant keywords
  • Keep it short
Don'ts
  • Do not use spaces
  • Do not use slashes ( / ) 
  • Do not use stop words (ex: the, and, an, in, etc.)
  • Do not use special characters (ex. &, *, #, @, etc.)

Tips

  • Try to refrain from changing out this slug multiple times. Changes to this slug can cause you to lose your position in search results and can result in a 404 error if people have the bio pages bookmarked. 
  • If changed in your production site, you may need to add redirects to avoid broken links to your pages. More information on redirects can be found in our KB documentation for the Redirection Plugin




Keywords:slug, faculty, staff, people, URL, category, faculty/staff members, change, update, augment, address, reference   Doc ID:96703
Owner:Jenna K.Group:WiscWeb CMS
Created:2019-12-17 22:22 CDTUpdated:2020-02-21 14:58 CDT
Sites:DoIT Help Desk, WiscWeb CMS
Feedback:  0   0