Hello,

I've installed the 5.x-2.2 version of Pathauto and it's not filtering out the "a" string. For example, if I create a page titled "A This and A That" the url will be "a-this-a-that" despite the fact that "a" is first in the list of string to be removed.

Cheers,
Alex

Comments

WeRockYourWeb.com’s picture

Actually, the URL created is "a-and-a" ("this" and "that" are correctly being filtered)

greggles’s picture

Status: Active » Closed (duplicate)

This sounds like a duplicate of #231292: "Strings to Remove" not being removed if they are capitals or the first/last word in the box.. Can you try the patch and some of the other things mentioned in that issue and see if any of them help?

WeRockYourWeb.com’s picture

Actually the "a" I used wasn't capitalized. I tried the patch on 5.x-2.2 and it gave the message "Hunk #1 failed at 161 / 1 out of 1 hunk failed"

Duplicating the first term solved the issue - ie. using "a,a,..." for strings to remove helped remove lower case a's. Just for kicks, I tried "a,A,a,..." and now it removes both lower and uppercase a's. It appears that 1) it ignores the first item in the list of strings to remove, and 2) it's case sensitive?

greggles’s picture

Could you please post that comment on the other issue?

greggles’s picture

Aha, I see now you did. Nevermind. In generael, it's only necessary to post in one place.