This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » URL translator for exsisting page
expandshrink

URL translator for exsisting page

URL translator for exsisting page

Friday 14 October 2005 3:13:31 pm - 2 replies

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

Monday 17 October 2005 6:19:17 am

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

Monday 17 October 2005 9: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.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from