I have the requirement on our Drupal 7 site where if we have a single node we need to be able to have multiple url paths to reach that node.
For instance lets say we have a node with id 1234 Currently we can create an alias for it: example.com/my-custom-alias
and I can go to example.com/admin/config/search/path/add and add a second url for this node with id 1234: example.com/differenturl/my-custom-alias
but when I try to go to: example.com/my-custom-alias
the browser redirects the page to: example.com/differenturl/my-custom-alias
What I need is for both urls to resolve to the the same node and for the url to not change (or be redirected).
This is because we use Google Analytics and we need to know from which part of our example.com site our node/1234 is being accessed from.
Currently the only thing that Google Analytics will track is: example.com/differenturl/my-custom-alias
and won't track: example.com/my-custom-alias
Does anyone know how I can achieve this?