I have it set to "Create a new alias. Delete the old alias", and I get:

user warning: Duplicate entry '/feed-' for key 'dst_language' query: INSERT INTO url_alias (src, dst, language) VALUES ('node/15/feed', '/feed', '') in E:\wamp\www\theatre-drupal\modules\path\path.module on line 112.

No where is it deleting the alias first, so I added:

db_query("DELETE FROM {url_alias} WHERE dst = '%s'", $alias);

before the the Insert, and all is well.

Comments

amariotti’s picture

Why isn't this getting any attention? I'm getting this error on every node save that I do.

amariotti’s picture

Status: Active » Fixed

I figured this out. When I removed "feed" from the "Internal feed alias text (leave blank to disable): " field under my automated alias page it worked. Not sure how that got on there. I'm thinking it might have rolled over from my 5.x upgrade that I did on this website. Everything is working now!

Status: Fixed » Closed (fixed)

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