I believe this is an Ubercart issue since Ubercart is exposing their "catalog" vocab to pathauto (right?). If not, feel free to requeue.

I'm running a fresh install of Drupal 6.8 with Ubercart & Pathauto enabled. I set up automatic url aliases for my taxonomies and my catalog. I then add a term to a non-catalog vocabulary, and get the following aliases:

Created new alias foovocab/foo for catalog/60/foo
Created new alias foovocab/foo/feed for catalog/60/foo/feed
Created new alias posts/foo for taxonomy/term/60
Created new alias posts/foo/feed for taxonomy/term/60/feed
Created new term foo.

So I'm getting the correct posts/foo aliases I'm looking for, but Ubercart's also creating extra catalog aliases even though this term and its vocabulary have nothing to do with catalog. Their's not even a shared content type between the catalog and non-catalog vocabs.

Marked minor because the extra aliases don't break anything, but they do create irritating clutter and some double-aliased SEO issues.

Any help is appreciated.

CommentFileSizeAuthor
#1 catalog_pathauto.patch777 bytesIsland Usurper

Comments

Island Usurper’s picture

Assigned: Unassigned » Island Usurper
Status: Active » Fixed
StatusFileSize
new777 bytes

That's a good idea. I'm not going to worry about getting rid of the aliases that have already been made, though. But this patch should keep any more from being made.

ahkiam’s picture

Nice fix; I don't see any more double aliases. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.