I was pointed here from the taxonomy redirect issues queue...so here goes my orig post from there...
http://drupal.org/node/314171
I have installed taxonomy redirect, and I am also using pathauto, furthermore, I'm on Drupal 5.10.
This is all being setup on a dev environment, with the intention of rolling it to the live site.
Now, I have a redirect setup to redirect my artists vocab to band-profile/!tid
And I have created a view, band-profile, which accepts the !tid as an argument. Works GREAT! (thanks)
So, the case is this, I have an artists term, called Phish, and when I go to edit this term (I want to change the weight), the term updates, but creates a new url-alias called band-profile/phish and renames the old one with a -0
ORIG ROWS:
| 1917 | taxonomy/term/101/0/feed | artists/phish/feed |
| 1916 | taxonomy/term/101 | artists/phish |
AFTER TAX-REDIRECT & Term Update:
| 1917 | taxonomy/term/101/0/feed | artists/phish-0/feed |
| 1916 | taxonomy/term/101 | artists/phish |
| 9169 | band-profile/101 | artists/phish-0 |
this does not seem desirable, as when someone now clicks on the tag phish, the view is unable to find the appropriate content.
it seems to me, that out of the box, where the path is getting renamed for tags is great, the creation or updating of the url aliases table is not. Maybe this is a bug, maybe it's by design...
here's the output from when I went to update the vocab term 'Phish'
* The automatically generated alias artists/phish conflicted with an existing alias. Alias changed to artists/phish-0.
* Created new alias artists/phish-0 for band-profile/101
* Created new alias artists/phish-0/feed for taxonomy/term/101/0/feed, replacing artists/phish/feed
* Updated term Phish.
Comments
Comment #1
gregglesCould you try again with the latest 5.x-2.x-dev? There was a taxonomy related issue there that was recently fixed which might be the cause of this problem.
Comment #2
trevorleenc commentedsame results...
I started with a fresh copy of my database, upgraded pathauto to the -dev, then activated and configured the taxonomy redirect module, edited my term for phish, and the phish-0 got created as a url_alias
Comment #3
trevorleenc commentedanything new here?
if there is more info I can provide, or something to test, please let me know, thanks.
Comment #4
gregglesNot really. I don't use taxonomy_redirect and while I understand from that other issue that it uses a "Drupal" standard way to do what it does...I don't understand that area well enough to figure out how it might expose this symptom of a bug Pathauto.
Comment #5
jvinci commentedI'm facing a similiar problem (I think):
I'd like the file to save as person/william_ellery but as you can see it suppossedly exists already.
I tried deactivating Taxonomy Redirect, but that doesn't seem to help. Let me know if you need to know anything further about my drupal setup.
Could the problem be that I'm trying to create two aliases (one for the node and one for the Taxonomy term) that point to the same place (the node)? If this is the case, maybe (in my case) it's not Taxonomy Redirect that's the problem?
Comment #6
greggles@jvinci - yeah, having both the same alias for both the node and the term would cause the problem.
Comment #7
HansBKK commentedLogical - can't have one path pointing to two different targets.
However is the inverse OK? Multiple paths going to the same place (ignoring the SEO issue, just a drupal-tech question)
Comment #8
greggles@HansBKK - it is possible to do that, yes.
I'm marking this "by design" since I don't think there is anything to fix here.