How to solve performance and post analysis issues
The analysis on your posts performed by the plugin to get information about your internal links, to get information about the link juice, and to get suggestions in the Interlinks Suggestions meta box might be slow if one or more of the following conditions occur:
- Your blog has a high number of posts, and you are not limiting the analysis of the posts with the Limit Posts Analysis option.
- You have defined a high number of keywords with the AIL menu.
- Your server performance is below the norm.
If you want to complete the analysis of the posts in a few seconds, it is therefore very important to:
- Use the Limit Posts Analysis option when possible
- Delete all the unused keywords in the AIL menu
To avoid errors such as “Maximum execution time of x seconds exceeded” or “Allowed memory size of x bytes exhausted”, it’s essential to consider that:
- Some servers might have a limited maximum number of seconds allowed to execute PHP scripts with the
max_execution_time
PHP directive, and this might prevent the analysis on your posts from being completed properly. If this is your case, simply set “Yes” on the Set Max Execution Time option and enter an appropriate value in the Max Execution Time Value option - Sometimes, the PHP memory limit is very limited, and the analysis of the posts performed by this plugin might not be completed properly without increasing the PHP memory limit. If you want to increase the PHP memory limit, set “Yes” on the Set Memory Limit option and enter an appropriate value in the Memory Limit Value option
Please note that the custom max_execution_time
and memory_limit
values defined with the plugin will be applied only on the scripts used by the plugin and won’t affect any script outside the plugin.
It’s also important to note that in some cases, the custom max_execution_time
and memory_limit
values defined through the plugin options (and actually applied with the ini_set() PHP function) might be ignored. In such cases, you have to configure your server (or ask your hosting provider to configure it) with different values for these directives.