Links checking

Local Site made with PHP

Launch the Apache HTTP Server, MySQL and WinHttrack.
To verify the links and syntax (PHP) in the whole local site, enter in the WEB address:

In the Option tab Log, Index, Cache tick Create Log Files and select debug.
When the capture is finished, the list of operations in the error log (or the file hts-log.txt) with errors and warnings can help you finding the empty links and the pages with problems.
You can test browser dependent PHP or javascript functions by modifying the browser identity.
Some javascript problems can also be found, but remember that HTTrack doesn't really interpret javascript.
For the links, the best is to open the Apache error.log file. The names of non existing files are listed there.
In the file defined for error_log (only if log_errors is on in the php.ini file), you will find all the running errors.
You can use the capture to check the HTML syntax with CSE HTML Validator Lite or to convert a PHP, cfm or asp site into HTML.

By using the same URL, your Apache server and PHP interpreter, XENU (version 1.2f) can find broken links, but robots.txt rules will not be followed, javascript links will not be checked and the source will not be available.

Local Site in HTML

Capture the local site with WinHttrack by entering in the WEB address:

In the Option tab Log, Index, Cache tick Create Log Files and select debug.
When the capture is finished, the list of operations in the error log (or the file hts-log.txt) with errors and warnings can help you finding the empty links, the pages with problems and you may detect javascript problems.

However, XENU is much more efficient for HTML.


With javascript

W3C XHTML 1.0
W3C CSS