Skip to main content
ydong01
Staff
Staff
Oct 31, 2025 6:18 AM UTC

Technical Tip: TAG %%FGT_HOSTNAME%% not working on login replacement page in v7.x.x

  • Apr 16, 2026 12:00 PM UTC
  • 0 replies
  • 298 views
  • Translate All
Description This article describes TAG %%FGT_HOSTNAME%% not working as expected in v7.x.x.
Scope FortiGate v.7.x.
Solution

Users want to add FortiGate hostname to the login replacement page, which is for customizing the page when users accessthe login page. In v7.x.x, it is not working as expected.

 

Example:

TEST-FGT is the hostname of FortiGate, which is running on v7.6.4. In the login replacement page, add TAG %%FGT_HOSTNAME%% to it; it looks like it is working:

 

7.6-Replacement.png

 

But when users access to login page, it does not show the FortiGate hostname.

 

7.6-auth.png

 

In v8.0.0, TAG %%FGT_HOSTNAME%% is working on the login replacement page.

 

8.0-Replacement.png

 

8.0-auth.png

 

 

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024