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
Thank you so much! I’ve implemented the header in the .htaccess so I can leave the plugin code intact. I managed to declare the header for a specific domain and it seams to be working:
<ifModule mod_headers.c> Header set Access-Control-Allow-Origin: http://www.winefromthearchive.com </ifModule>
I just noticed that the search bar is working now but, it’s displaying the results for the main language (Cz) only.
I’ve checked and the WPML compatibility is set to ON.
Any ideas on what may be causing this? Should I create a different ticket for this issue?
Thanks again for your help!