Permalink Length

URL slugs are the portion of your page URL (or “permalink”) generated from your page title.

By default, WordPress generates your URL slug by converting your page title to lowercase, replacing each space with a hyphen, and removing certain words, like “the” or “and.” In some cases, the auto-generated URL slug is undesirable. You can edit your slug by clicking the Edit button next to your permalink.

Setting your slug

Change your post or page slug by clicking the Edit button next to the permalink and just beneath your title.

Screenshot of the slug edit button

NOTE: If you change the slug of an existing page, you may break links pointing to that page. After changing the slug, please email oit_website@help.ncsu.edu and let us know what change you made, so that we can put in place the necessary redirects.

Best Practice: Short slug with minimal redundancies

Your page title should be descriptive, but your URL slug can be shortened to a more reasonable length. We recommend:

  • Your slug should be no longer than four words.
  • Remove any redundant words from your slug that already appear in the URL, eg. /campus-it/web-hosting/about-cpanel-web-hosting/ becomes /campus-it/web-hosting/about/