Characters stripped from slug
-
I noticed this plugin converts the slugs correctly for the most part, with the exception of slugs that end in the characters H, T, M, or L, which will get stripped off.
For example:
“spaghetti-squash”
shortens to
“spaghetti-squas”“cauliflower-with”
shortens to
“cauliflower-wi”This is moving from the year/month/post.html permalink format to just /post/ permalink format.
It’s only those 4 letters at the end that get stripped, other slugs are just fine. Guessing it’s a bug with the stripping of the .html that is causing it.
So strange, it’s happened to me on two separate sites I’ve used this for, and caused me to have to go back through ALL my slugs one at a time and fix the problem ones.
A fix would be greatly appreciated!
- The topic ‘Characters stripped from slug’ is closed to new replies.