What is WordPress Slug?
Posted: Thu Jan 23, 2025 5:10 am
A WordPress slug is a text that comes after your domain name and is part of the URL that links to your content. The slug would be the part that goes after the forward slash (/).
If you create a new post, WordPress automatically generates the slug based on your Permalinks settings. You can go to Settings -> Permalinks and change the way slugs are generated.
Even though WordPress automatically defines the slug, it's not always a bolivia phone number list idea to leave it as is. The predefined slug might not be optimized for search engines, or it might not be attractive to people.
How to set up slugs in WordPress
Before setting up a slug, you should know the two basic rules:
Change spaces to dashes;
Only lowercase letters are allowed.
WordPress will automatically correct these rules for you. But, it will be best if you are clear about this before you continue.
Slug in WordPress Posts
You can set your post's slug while you're writing or editing it. Go below the title field of your post and look for the permalink URL. If you can't find the permalink there, then you need to type in the title first. After the permalink appears, you can edit the slug by clicking the Edit button. When you're done, click OK.
Defining the WordPress slug
Slug in WordPress Pages
Similar to a post slug, setting a page slug is pretty easy. The page permalink URL is also located below the page name field. Click Edit, type in the page slug, and click OK
If you create a new post, WordPress automatically generates the slug based on your Permalinks settings. You can go to Settings -> Permalinks and change the way slugs are generated.
Even though WordPress automatically defines the slug, it's not always a bolivia phone number list idea to leave it as is. The predefined slug might not be optimized for search engines, or it might not be attractive to people.
How to set up slugs in WordPress
Before setting up a slug, you should know the two basic rules:
Change spaces to dashes;
Only lowercase letters are allowed.
WordPress will automatically correct these rules for you. But, it will be best if you are clear about this before you continue.
Slug in WordPress Posts
You can set your post's slug while you're writing or editing it. Go below the title field of your post and look for the permalink URL. If you can't find the permalink there, then you need to type in the title first. After the permalink appears, you can edit the slug by clicking the Edit button. When you're done, click OK.
Defining the WordPress slug
Slug in WordPress Pages
Similar to a post slug, setting a page slug is pretty easy. The page permalink URL is also located below the page name field. Click Edit, type in the page slug, and click OK