Skip to main content
ydong01
Staff
Staff
October 31, 2025

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

  • October 31, 2025
  • 0 replies
  • 259 views
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