Schema markup generator tool by Marco Ilardi

A slug is the last part of a web address, the words that identify a single page. In example.com/blog/ten-tips-for-seo, the slug is ten-tips-for-seo. Slugs are small, but they are one of the few parts of a page that both visitors and search engines read before opening it.

Why slugs matter for SEO

A slug is a light signal, not a ranking trick. Its real value is clarity and consistency:

How to write a good slug

How to change a slug in WordPress

  1. Open the post or page in the editor.
  2. In the settings sidebar, open the Summary section and click the link next to URL.
  3. Type the new slug, using lowercase words separated by hyphens.
  4. Click Update to save the change.
  5. Create a 301 redirect from the old address to the new one, using your SEO plugin or a redirect plugin.

Be careful when changing a live slug

Changing the slug of a page that is already published changes its address. Anyone who bookmarked it, and every site that links to it, will land on an error page unless you set up a permanent redirect. Search engines also need time to process the change. For this reason, choose slugs carefully before publishing and change them later only when there is a real benefit, for example to replace an address made of random numbers or a word that no longer describes the page.

Slugs and structured data

Clean addresses are part of a wider picture. Structured data also needs a stable page address, as you can see in our guide to WebSite schema markup, which uses the canonical home page URL as the identity of the site. After changing an address, check that your markup still points to the right page with the schema markup validator, and read how to insert a schema in the head section of your website if you need to update the code.

Sviluppato con Micro WP da Micropedia