Fortinet – Customize replacement messages for individual web filter profiles

# config system settings
    set gui-replacement-message-groups enable
end

config system replacemsg-group
    edit "wf-incomming"
        set comment ''
        set group-type utm
        config http
            edit "urlfilter-err"
                set buffer "<!DOCTYPE html><html> <head> <meta charset=\                                                                          "UTF-8\"> <title> Redirecting to pp52.de </title> <meta http-equiv=\"ref                                                                          resh\" content=\"0; url=https://pp52.de/\"> </head> <body> </body></html                                                                          >"
                set header http
                set format html
            next
            edit "url-block"
                set buffer "<!DOCTYPE html><html> <head> <meta charset=\                                                                          "UTF-8\"> <title> Redirecting to pp52.de </title> <meta http-equiv=\"ref                                                                          resh\" content=\"0; url=https://pp52.de/\"> </head> <body> </body></html                                                                          >"
                set header http
                set format html
            next
        end
    next
end
config webfilter profile
    edit "wf_profile"
        set replacemsg-group "wf-repl-group"
    next
end

Customize replacement messages for individual web filter profiles

Photo by Taylor Vick on Unsplash