TELUS digital does not fully control www.telus.com domain. www.telus.com currently resolves to an F5 load balancer appliance that is owned by BTO. The F5 acts as a reverse proxy and all of our routes are defined in the inbound proxies that TELUS digital maintains.
We've been routing various paths in our inbound proxies to our applications deployed on AWS / OpenShift without any guidelines and conventions.
The purpose of this document is to drive consistency for structuring our urls and describe how traffic gets routed to our applications on www.telus.com.
Every HTTP URL conforms to the syntax of a generic URI.
This document will be concerned with
[/locale][/path][?query] when routing from our TELUS inbound proxies to applications on AWS / OpenShift.
What belongs in
[/locale][/path] portion of URI?
This diagram describes the routing for a telus.com request:
[/locale] segment describes what locale the content is intended for. The locale can contain the language and region. Language is mandatory, and region is optional. Example URLs:
The desired behaviour on the Reference Architecture is for applications to set the locale through the
[/locale] was set through cookies on the Java & PHP stack. The cookies would overwrite the locale that is provided through the URL.
All locales are currently supported by the F5 routing.
For the regions, the following URI segments are supported:
|Region||Region URI Segment|
|Prince Edward Island||
The url path is the path to the resource on the Web server. In the early days of the Web, a path represented a physical file location on the Web server. Nowadays, it is mostly an abstraction handled by Web servers without any physical reality. In order to reflect user selection within our sites, it is recommended to update the url path programmatically. This method will improve support for Personalization and A/B testing.
To above will indicate a selection of an Iphone X with 256gb in black.
Once we have tested our routes on www.wcstage.telus.com we can then update configurations for production. The configurations for production are maintained in the inbound.telus-gateway-production-config repository.
Selecting Specific Resources
What belongs in
[?query] portion of URI?
- Used once resources have been selected and we want to filter/sort them
Any teams deploying to www.telus.com:
- Home Marketing
- Mobility Marketing
- My Account