The basic slug offers some kind of redirect feature. This feature is important to a non-commercial blogger like me as I often embed a slug URL (of an important blogpost) in various webpages, but I still want the flexibilty to edit the slug.
Sugg: I think a slug should be short yet unique.
Compared to other wpress redirection techniques, I think this slug feature is mature and relatively stable.
Other online resources:
— permalink .. can be based on postId or slug.
permalinks – Removing the redirect after changing a page’s slug – WordPress Development Stack Exchange pointed out:
Also, remember that if WordPress can’t find a permalink, it looks for posts with a matching beginning, e.g. if you had a post with permalink /foobar, then /foo will redirect to it.
— previous slug is saved in DB
For example, this very bpost once had a permalink ” https://btv-open.dreamhosters.com/slug” and this outdated URL would redirect.
— How to Redirect a WordPress Page (with and without plugins) (quadlayers.com) explains
- the Redirection plugin
- edit functions.php using the CodeSnippets plugin
- edit .htaccess using the FileManager plugin