How can i know how many times 404 not found page comes and the url for which 404 occurs

I am trying to log the page visit and requested URL when the 404 occurs and i am using worker sites for pages to go live for my domain

like when xyz.com someone visits it gives the page and when xyz.com/about visits it will give the page but when xyz.com/about// or xyz.com/aboutt then it will give 404 so i wanted to log the request.url or send to a particular API for information purpose and /info is not there in the domain and when someone makes a request on xyz.com/info it also gives 404 but i wanted to log all the events or url when the 404 occurs

This topic was automatically closed after 31 days. New replies are no longer allowed.