> For the complete documentation index, see [llms.txt](https://knowledgebase.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.ajaxsearchpro.com/miscellaneous/compatibility/wpml-compatibility-issues-and-fixes.md).

# WPML Compatibility issues and fixes

## Incorrect language links in results, or partially wrong result links

Make sure to enable the `Language filtering for AJAX operiations` option, under the `WPML -> Languages` menu. More information in [WPML documentation](https://wpml.org/documentation/getting-started-guide/language-setup/enabling-language-cookie-to-support-ajax-filtering/).

![](https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9rmHbZfTKVQ7YzbIZL%2F-MB9AGvU-8vo70Um-5rK%2F-MB9Bar9u7EODp2reroi%2Fimage.png?alt=media\&token=571c5283-5524-4127-b9df-d703b63dab5b)

## Results displayed from wrong languages or all languages

### WPML compatibility option

Make sure, that the `WPML Compatibility` option is turned ON under the search instance `Advanced Options -> Content` panel.

![](https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9rmHbZfTKVQ7YzbIZL%2F-MB9AGvU-8vo70Um-5rK%2F-MB9CboEyrQ8IKkk_bmu%2Fimage.png?alt=media\&token=2ec76f29-70b4-4ad5-a6b3-350bdae3545b)

### Custom Ajax Handler option

If the `WPML Compatibility` option is turned ON, then check make sure the `Use the custom ajax handler` option is turned off under the `Ajax Search Pro -> Compatibility & Other settings` submenu.

![](https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9rmHbZfTKVQ7YzbIZL%2F-MB9AGvU-8vo70Um-5rK%2F-MB9DEqTNbkVqEaMJSN1%2Fimage.png?alt=media\&token=f2be4a75-321b-4f8f-a652-cb7c1e8955bb)
