Forums / General / Redirection / Comment36475

Author Topic

Gaetano Giunta

Friday 31 October 2008 7:13:06 am

Comment36475

I do not know about specific requirements about the redirection: does it have to be done externally (eg http 301 or 302) or internally? Is it ok to keep the "Folder1" url displayed?

You could achieve this sub-display in many ways using templates:

A - use a template for folder 1 that does an html-redirect to subfolder1

B - add a view parameter to the url used for folder1:
.../folder1/(display)/SubFolder1
then in the template for folder 1 you check if node child SubFolder1 exists, and if it does, you do a {node_view_gui} on it

Principal Consultant International Business
Member of the Community Project Board