Troubleshooting
How to fix problems with LinkAutocorrect
- Check the error log of your webserver for PHP warnings, uncaught exceptions, and permission issues.
Apache2:/var/log/apache2/
Nginx:/var/log/nginx/
LiteSpeed:/usr/local/lsws/logs/
The origin of your problem is most likely a simple configuration issue. - If there are no relevant entries in the error log, open the configuration file and set
debugto true. Then intentionally visit an incorrect URL on your website likehttps://example.com/typo. Replace example.com with the domain of your website. You should see a page similar to the following:
Carefully read the debug output. Common issues include:- The request path was blocked by a rule from the installed blocklists. Edit the installed blocklists to match your desired behavior.
- The list of pages to compare the input with is empty or contains too many entries, causing a significant slowdown in processing speed.
- Failed to connect to the SQL database.
- One or more correction methods were accidentally deactivated.
- Confirm that your webserver routes 404 events to the
404handler.phpfile. The Web Server Config page has instructions on how to set this up. - Verify that the PHP process has read access to the directories you want to scan. Missing permissions will prevent the candidate path list from being built correctly.
- Settings like
blockipv4,blockipv6, andprot_blockedpaths_processingare very powerful. Double-check that they are set according to your needs. - Make sure that protection options like IP rate limiting are not configured to be overly aggressive. Temporarily set thresholds to -1 or disable the relevant options to determine whether they are suppressing valid traffic.
- Check if the correction log has filled up the entire available disk space and delete older entries if necessary.
- Clear expired cache entries using the admin panel.
- Check that you have the correct PHP version installed on your webserver. Visit the System requirements page for more info.
- Test the similarity and autocomplete engines individually. Set
cmpltModetodisabledto isolate similarity-based corrections, then re-enable it and temporarily disablesimModeto evaluate autocomplete-only behavior.
If you need further assistance, visit the Contact us page.