Forums / Setup & design / Redirect to child node
j jevack
Tuesday 08 November 2005 12:35:35 pm
How can I redirect a request for a node to a child of that node?
I don't want to access the child node from that parent, I want to 'move' the request to that node. Is this possible?
Regards,
Jason
Tuesday 08 November 2005 3:52:12 pm
To clarify, maybe an example: Department Folder contains multiple article objects including one designated as 'main'. When Department Folder node is requested, I want to redirect to the 'main' article.
I've read the posts on redirects and they all seem to make use of the uri redirect that's available via hidden form field. I need to do this without a form. I also tried node_view_gui function but I can't seem to get output.
What else can I try?
Thanks,
Bruce Morrison
Tuesday 08 November 2005 4:19:03 pm
Hi Jason
Sounds like you want to use URL Translation. To access click on the Setup Tab and select "URL translator" from the LH menu.
Seehttp://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/url_translation
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
Tuesday 08 November 2005 4:45:57 pm
Thank's for pointing me in the right direction.
Francesco Trucchia
Thursday 19 January 2006 9:03:31 am
I have the same problem and I resolve it with this solution: 1 - Use the url translator action at setup section 2 - Create a new system forwarding (the first type) 3 - At the New virtual URL input put the parent alias node4 - At the System URL input put the full system path of child node
In this way everything works good.
Byez
-- Francesco Trucchia CTO ft@ideato.it Skype: trucchia ideato srl - web ideas for sale http://www.ideato.it