Title: Access-Control-Allow-Origin
Last modified: August 24, 2016

---

# Access-Control-Allow-Origin

 *  [davide.brognoli](https://wordpress.org/support/users/davidebrognoli/)
 * (@davidebrognoli)
 * [11 years ago](https://wordpress.org/support/topic/access-control-allow-origin-3/)
 * Hi,
    I need to use the plugin in a multidomain environment: admin and frontend
   run on different domains . When I try to search something I receive an error “
   No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”
   on /wp-admin/admin-ajax.php?action=autocompleteCallback&term=bel. Is there a 
   way to change the ajax call from JSON to JSONP?
 * Thanks.
 * [https://wordpress.org/plugins/search-autocomplete/](https://wordpress.org/plugins/search-autocomplete/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gabe Shackle](https://wordpress.org/support/users/hereswhatidid/)
 * (@hereswhatidid)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/access-control-allow-origin-3/#post-6109121)
 * This is a bit beyond the scope of the plugin and stretches in to the server admin
   area. You should be able to enable cross domain access for your multisite if 
   you have admin control over the server itself. It can be enabled via .htaccess:
 * [http://enable-cors.org/server_apache.html](http://enable-cors.org/server_apache.html)
 * Be sure to only allow the cross domain access for specific URLs to avoid opening
   up any security holes in your site.

Viewing 1 replies (of 1 total)

The topic ‘Access-Control-Allow-Origin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/search-autocomplete_f8fbfd.svg)
 * [SearchAutocomplete](https://wordpress.org/plugins/search-autocomplete/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-autocomplete/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-autocomplete/)
 * [Active Topics](https://wordpress.org/support/plugin/search-autocomplete/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-autocomplete/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-autocomplete/reviews/)

## Tags

 * [Access-Control-Allow-Origin](https://wordpress.org/support/topic-tag/access-control-allow-origin/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gabe Shackle](https://wordpress.org/support/users/hereswhatidid/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/access-control-allow-origin-3/#post-6109121)
 * Status: not resolved