A shopper simply created a publish with a extremely lengthy slug (90 characters), no particular characters (apart from hyphens) and many others.
At any time when the hyperlink to that publish was clicked, together with the “Preview” or “View this Submit” hyperlinks from the Admin again finish, a 404 was generated.
As soon as we manually trimmed the slug, every little thing labored as anticipated. Is that this a “characteristic” or a “bug”?
EDIT: a Notice for all these speaking about DB limits.
If I had been hitting the DB discipline restrict, then the slug itself could be
truncated. Give it some thought for a second. Within the case of most WP
installations, wp_posts.post_name is VARCHAR(200). So, for example that
somebody sorts in a title with > 200 chars. What occurs? The slug will get
truncated to 200 chars and saved in wp_posts.post_name. It isn’t like
somebody goes in and typing the complete title of the publish within the
browser deal with bar, substituting the areas with dashes proper? The
URL is being generated by WordPress, and it is getting the URL from the
wp_posts.post_name desk and simply placing that within the href attribute
of the anchor tag. So there’s not going to be a disparity there. The
entire DB factor is a purple herring.
In any case, the slug in query is simply 90 chars, so it has nothing to do with DB limits.
Are there any recognized limitations round rewrite?