0

I have a site which behaves strangely, whenever I change the node title, it give a page not found error. I think it has to do with Drupal trying to find the node by path alias, but why? It should find it by node ID?

I have even installed the module Global Redirect, but that does not help.

Suggestions are welcome!

0
2

When you change the title of a node when URL auto-alias is turned on, you will need to fix your links to that node or do the options below. You are getting the page not found error, because it's trying to go back to the view version of the node that now has a different URL. You have the following options:

Install redirect. Then set up a redirect to the old URL. If you install this first, it will automatically track the changes of the URL moving forward.

Alternatively, you can go to the node and uncheck the auto-alias option and hand-assign the URL back to what it was before you changed the title. I recommend the redirect module though.

2
  • okay..but isnt is so that drupal should view the updated url automatically when saving a node with a new node title? I want to know why this is not the case with me. – Yuri Feb 10 '18 at 20:57
  • It's not the case because, see above. – Christia Feb 10 '18 at 21:35

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.