1

I know that Drupal allows same url for multiple nodes. But I've a scenario: a registered user creates and submits an article as an unpublished node and assigned an URL by pathauto based on its title. At the same time another user creates an article with same title in unpublished form. Will it too have same url?

I'll not "publish" those nodes anytime. I'll (as an admin) simply create a new node and copy paste contents.

1

a registered user creates and submits an article as an unpublished node and assigned an URL by pathauto based on its title. At the same time another user creates an article with same title in unpublished form. Will it too have same url?

No. pathauto by default will append a number to the end of the URL to differentiate between them.

  • Thanks but my question is little different than you've answered – AgA Jul 27 '11 at 7:21
  • @AgA I can't see how I've missed the question, but if I have, please clarify the question, don't just tell me I've answered the wrong one! – Andy Jul 27 '11 at 8:31
-1

Sorry, but Drupal does not allow same URL for multiple nodes.

  • 1
    No it does. For example in views we can setup same url for different views that is one for anonymous and another for registered. – AgA Jul 27 '11 at 7:20
  • It does, you can have the same alias in different languages (url_alias table). – Bart Jul 27 '11 at 9:02
  • 2
    AgA is talking about Views, not nodes. Anyway, Drupal does not allow same URL for multiple views either. The answer to his question is no, two newly created nodes by two different users will NEVER have same URL. Bart's got a bit of a point there, even though you can hardly consider translation a completely separate node. – Jan Tomka Jul 27 '11 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.