I have the following URL aliases for the same node.

  • /products/single-room/product-listing/wall-mount
  • /products/multi-room/product-listing/wall-mount

I have two details button Single & Multi-rooms; Single Room button has a link to /products/single-room/product-listing/wall-mount and Multi Room button has a link to /products/multi-room/product-listing/wall-mount. When I click on Single Room or Multi Room Button, both will redirect to /products/multi-room/product-listing/wall-mount; when I delete the multi-room alias the single-room button will go to /products/single-room/product-listing/wall-mount which is correct but multi-room will give the 404 not found error.

What I need is to have two aliases for same node: When users click on single, they are redirect to the same node with /products/single-room/product-listing/wall-mount as URL; when users click on multi-room, they get redirected to the same node with /products/multi-room/product-listing/wall-mount as URL.

Please help me out?

  • Any body can help me? – Revolution Apr 17 '15 at 13:28

Disable the Global Redirect module. This module is specifically built to do the behavior you are describing, because search engines like it.

Unless you are using those path segments as contextual filters somewhere, there should be no reason to do this. If you are using those path segments as contextual filters, there should be a better way to do this. Either a view page or a panel page would be able to hold that page open, use wildcards for those address segments, and get the functionality that you want without having to upset the search engine bots.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.