Contents
Are slugs capitalized?
URL slugs are all lowercase. Any uppercase characters you enter when editing the URL will automatically change to lowercase. If you or visitors enter any uppercase letters when trying to visit a page, your site’s 404 error will display instead.
Should slugs be lowercase?
The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens. Whether it’s important to you to have a day, month, numeric number or just post name, you can modify your site permalink structure on which the slugs come in.
Do slugs affect SEO?
They can have a harmful effect on your business and it’s crucial not to forget to optimize each of your web page’s SEO slugs. It will hurt your web page SEO score and it will also look confusing to your users.
How important are slugs for SEO?
The main SEO benefit of a slug is that you can change the words to make sure that it has the words that you really want to rank for. It’s one of the indicators Google uses to determine what a page is about.
Which is the correct slug for uppercase or lowercase?
Therefore all post slugs must be category/%page_id%-%postname%, which does not match the old site on the particular pages that need the uppercase vs. lowercase scenario—they just need to be /parent-page/%postname% I would prefer not to do 301 redirects per-page—just too much.
Is it better to use lower case or upper case URLs?
They may feel they need to match the case, ultimately giving them more work to do and increasing the likelyhood of errors. To conclude; keep URLs lower case. There is actually a good security reason to use a mix of uppercase and lowercase. It has the effect of confusing and blocking attackers !
Can a duplicate page slug be used in WordPress?
WordPress does not allow duplicate page slugs, even though they are Uppercase vs. lowercase (since WP goes by the assumption that all slugs and urls will be lowercase).
When to use lowercase or mixed case url on Facebook?
Facebook shared url is case sensitive. If for some reason, someone shared your url in lowercase, that’s a different URL. That is why the safe approach is to stick to all lowercase rather than mixed case. Besides, users don’t look at a URL.