Share » Forums » Setup & design » url_alias - what if you need to...

url_alias - what if you need to change the name? Link rot?

url_alias - what if you need to change the name? Link rot?

Tuesday 19 April 2005 7:20:31 am - 3 replies

Modified on Tuesday 19 April 2005 7:21:17 am by David Goddard

Author Message

David Goddard

Tuesday 19 April 2005 7:34:22 am

Ah! Ignore the above. I suspect this is exactly why the Article class has the 'short title' attribute and the Folder class has the 'short name' class which are used first in the object name pattern.

Bård Farstad

Wednesday 20 April 2005 3:57:54 am

Hi David,

welcome to the eZ community!

The first part of your question regarding breaking links. If you change the name of an object then eZ publish will keep the old URL and forward this (using HTTP MOVED headers) so that e.g. google updates it's search index and users find the content, even after it has been removed.

The actual object name is what's deciding the URL alias, this can be configured in the class setup. As you mention the default article class already utilized this, as an option.

--bård

Documentation: http://ez.no/doc

David Goddard

Wednesday 20 April 2005 8:55:58 am

Cool - keeps track of an objects name and issues 301's if it changes! Brilliant!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu