Building airTRFX URLs using Variables: A Comprehensive Guide

Partner Image
Claudia Martinez
September 12, 2023
3 min read

Airlines with complex online marketing needs are increasingly adopting automation solutions like airTRFX to manage their web traffic and campaigns. One essential feature is the ability to create bulk URLs that automatically redirect users to the appropriate landing page.  

Explore how to build airTRFX URLs using variables and template redirects efficiently.  


How do airTRFX URLs with Variables Work? 

In airTRFX, airlines can set up a template redirect URL. This URL will automatically redirect users to the relevant landing page, allowing the bulk URL generation process for online marketing campaigns.  

For example, a URL like: 

Will automatically redirect to: 


Technical Requirements 

For the airTRFX Redirect Rule to work correctly, the Reverse Proxy Rule (/redirect*) at the CDN level must be in place. Failing to do so will result in a 404 error. 

SEO Considerations 

It's worth noting that this method of URL redirection is not ideal for SEO interlinking. However, these variable-based URLs are perfect for campaign URLs from paid media channels. 


How Does the Redirect URL Work? 

The Redirect URL is constructed using four essential parameters: 


Screenshot 2023-09-12 at 9.15.57 AM.png

Origin 3-letter IATA airport code 

Not case sensitive. Should be a valid airport in airTRFX route list 


Destination 3-letter IATA airport code 

Not case sensitive. Should be a valid airport in airTRFX route list 


Page template code 

Not case sensitive. Template should be active in airTRFX 

tc=tci, tc=tco, tc=cici  (All available variables in next slide) 

Site Edition (language-market ISO Codes) Case sensitive. Should align airTRFX site edition structure en-us, en-US, en (if only global editions are used) or en_us in some cases 


  • The Redirect URL structure must contain all four parameters, regardless of the page template.
  • Both the origin and destination IATA codes should be valid and exist in the airTRFX route list. 

Screenshot 2023-09-12 at 9.19.40 AM.png

Creating URLs in Bulk 

The airTRFX system allows you to build URLs in bulk using these redirect rules. 

Example application: 

Screenshot 2023-09-12 at 9.20.51 AM.png

The example will resolve in the following URL following the variables for each parameter: 

Parameters used: 

  • Site Edition: en-gb (edition=en-gb
  • Origin Airport Code: not used 
  • Destination Airport Code: &dest=EWR 
  • Template to City: tc=ci 

Note: Because the variable used for the template example is tc=ci the final URL is a to-city page, and the origin is not used. 

However, the parameter orig=XXX, regardless of the page template, must still be part of the redirect URL from a valid route in airTRFX . 


airTRFX Template URL Parameter Guide 

Examples with different templates 



To City redirects to : 


City to city redirects to: 


From City redirects to: 

Country pages work as well with airport codes. Page will be redirected to the country of the city used as the airport code in the URL. 


To Country redirects to 


City to Country redirects to 


From Country redirects to 

Parameter Template Example – showcasing a subdirectory URL 


Additional Considerations 

  • The URL will automatically redirect to the corresponding airTRFX page, assuming the route and landing page are active in the airTRFX system. 
  • If the route or airport codes haven't been yet or have already been deleted, the URL will redirect to the global site edition's hub page. 
  • If you see any additional parameters in your final URLs, please note that an additional “?” is not necessary.  
  • For adding UTM parameters, simply use the "&" symbol followed by the UTM parameter: 



will redirect to: 

  • If airTRFX is hosted in a subfolder, the redirect rule starts after this subdirectory. Example: 

The airTRFX system offers an incredibly efficient way to manage URLs for airline marketing campaigns. By understanding the nuances of the redirect rules, variables, and template codes, you can craft URLs that seamlessly funnel web traffic to the appropriate destination. However, keep in mind the SEO limitations and make sure that your CDN settings are configured correctly to avoid issues. 

Related Products
Related Articles
Stay connected with our newsletter
Be the first to receive exciting news and updates delivered right to your inbox