Reply To: Cross Domain Error with WPML- No 'Access-Control-Allow-Origin' header is present

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Cross Domain Error with WPML- No 'Access-Control-Allow-Origin' header is present Reply To: Cross Domain Error with WPML- No 'Access-Control-Allow-Origin' header is present

#10337
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi!

The problem was that the custom ajax handler was enabled on the Compatibility Settings panel.

Because of that the WPML was not yet fully loaded when the search process was already finished – returning the incorrect permalink for the products.

The custom ajax handler feature is a great thing, but there is no guarantee it will work in every specific case, such as yours unfortunately. However the results should be pointing to the correct URL now.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)