I have a project which I'm working on which is going to need something similar to the following URL Structure :
site.com/dfe45c4f/news_title, site.com/gyb66dx/news_title or site.com/76vvg3s/news_title
The First URI Segment is the 'Partner Reference' - a hash value for every partner we work with, the second is a simple entry url title. Every page will show the same data, but each page will be 'branded' differently based on the Partner Reference.
What I need to do is to query a Craft channel a set a variety of variables (styling/logo/branding etc) for the page based on the partner reference.
How would I set routing to look up the first Segment URI to look at the partner section and return all the field information as variables?
Thanks

site.com/p/dfe45c4f/news_titlewould allow you to easily route it to a template called "p.html" and then perform your logic in there. – Ben Croker May 06 '16 at 20:00{{ object.partnerReference }}/{{ slug }}that just points to a template that contains the logic to apply the correct branding changes. Similar example: http://craftcms.stackexchange.com/questions/13622/how-do-i-properly-use-twig-syntax-in-dynamic-title-url-fields – Erik Reagan May 06 '16 at 21:11