Jump to content

List all 404s with target url on site?


delphi123

Recommended Posts

Hi folks,

 

need some brains around this - am needing to produce a script which will make a list of any visit to my site that finds a deadlink.

 

Was thinking I could use the .htaccess to display a custom 404 message which adds a line to a database - but can anyone tell me how to get the url of the page they were trying to visit? (or if there's a smarter way of doing this let me know! Haven't got access to the server logs unfortunately!)

Link to comment
https://forums.phpfreaks.com/topic/168383-list-all-404s-with-target-url-on-site/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.