Forums / Setup & design / URL translator for exsisting page

URL translator for exsisting page

Author Message

Daniele P.

Friday 14 October 2005 6:13:31 am

How to forward a request for an existing page to another page?

I need a redirection of this type: /level2 -> /level1/level2

Virtual url forwarding doesn't work if the page already exist.

I have found a workaround with system url forwarding:

/level2 -> /content/view/full/<node_id_of /level1/level2>

But it unpractical because you have to find out manually the node id of the destination.

Any suggestion?

Thanks in advance

Arran Price

Sunday 16 October 2005 9:19:17 pm

Can you not just add a location (from the edit page) for the content you were redirecting to?
I dont understand why you would want to redirect rather than add a location.

Arran

Daniele P.

Monday 17 October 2005 12:55:59 am

> Can you not just add a location (from the edit page) for the content you were redirecting to?

No. Because the destination is a child of the source, and the source is a different class.

> I dont understand why you would want to redirect rather than add a location.

I can't do this.
The real case is something like:

/products -> /products/category1/subcategory2/product1

In the home page there is a link to the products page (automatically generated by the treemenu) and following the treemenu the user has to click 4 times to see the first product.
I know I could create a custom template and reduce the number of clicks to 2.
But because in this special case the name of the product is sufficient to give an idea of the product and the container pages are folder with an empty description, I want to skip the view of the container pages (products,category1,subcategory2), and let users to choose the next product directly from the menu which appears on product1 page.

It's a bit more clear?

Again, thanks in advance for your suggestion.