This article describes how to determine the URL to block when blocking a specific part of a website. Modern websites use JavaScript to send a HTTP request to the server without reloading the whole page. It will use the API fetch functions or XMLHttpRequest(xhr)/AJAX and can change the content of the website based on the response.
FortiGate.
Network Topology:
PC -> FortiGate -> Internet.
FortiGate Configuration:
Web Filter:
In this example, the URL is www.samsclub.com/c/clothing-shoes-accessories/1959?xid=hdr:shop:more-departments:clothing-shoes-accessories.
Firewall Policy:
In this case, the URL is: www.samsclub.com/api/node/vivaldi/browse/v2/category/1959.
Related article:
Technical Tip: Using a static URL filter feature to allow/block web sites
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.