admin管理员组

文章数量:1415684

Some of my blog post slugs show abnormal characters within the edit post screen (ie. 3%e2%80%8b-%e2%80%8bperks%e2%80%8b-%e2%80%8bof%e2%80%8b-%e2%80%8bsmartphone-based%e2%80%8b-%e2%80%8belds) but shows a clean slug on the actual web browser.

These long messy slugs are showing up on my SEO audit as URL errors. Does anyone know how to fix these slugs?

Some of my blog post slugs show abnormal characters within the edit post screen (ie. 3%e2%80%8b-%e2%80%8bperks%e2%80%8b-%e2%80%8bof%e2%80%8b-%e2%80%8bsmartphone-based%e2%80%8b-%e2%80%8belds) but shows a clean slug on the actual web browser.

These long messy slugs are showing up on my SEO audit as URL errors. Does anyone know how to fix these slugs?

Share Improve this question asked Aug 14, 2019 at 20:38 KLCRKLCR 111 bronze badge 1
  • 1 It sounds like you're using special characters in your URLs. For example, %80 translates to a backtick, which is a special character so it has to be html encoded. If you limit your URLs to alphanumeric, hyphens, and underscores, you shouldn't have that problem. – WebElaine Commented Aug 14, 2019 at 20:46
Add a comment  | 

1 Answer 1

Reset to default 0

You can edit the slug for most content types. Check your sidebar when you have it open for editing - it should look something like this:

Moreover, some SEO plugins (like Yoast) also allow you to specify a slug. If you change the slug (and thus the URL to pages) you might want to use some sort of redirect plugin that can catch changes and redirect incoming traffic on the old URL.

本文标签: How to edit URL Slug