Title: LH Multisite CORS
Author: shawfactor
Published: <strong>14 balandžio, 2016</strong>
Last modified: 30 liepos, 2022

---

Ieškoti įskiepiuose

![](https://ps.w.org/lh-multisite-cors/assets/banner-772x250.jpg?rev=1395311)

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

![](https://ps.w.org/lh-multisite-cors/assets/icon-128x128.png?rev=1395303)

# LH Multisite CORS

 Autorius [shawfactor](https://profiles.wordpress.org/shawfactor/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/lh-multisite-cors.zip)

 * [Informacija](https://lt.wordpress.org/plugins/lh-multisite-cors/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/lh-multisite-cors/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/lh-multisite-cors/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/lh-multisite-cors/#developers)

 [Pagalba](https://wordpress.org/support/plugin/lh-multisite-cors/)

## Aprašymas

AJAX requests to this site from another (those containing an Origin header) will
be allowed for any domain in your multisite setup, no configuration required

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-multisite-cors/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-multisite-cors/).**

## Diegimas

This section describes how to install the plugin and get it working.

 1. Upload the entire `lh-multisite-cors` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## DUK

### Why do I need this plugin?

If you want to integrate content from your site to JavaScript applications running
on other domains then the CORS standard is a way to allow this. Allowing CORS for
all sites is a security problem but given you are the super admin for sites on your
own network they should be trustworthy, therefore CORS can be safely activated.

### What is the difference between CORS and JSONP?

CORS is more modern and more secure since it works _with_ the browser’s same-origin
policy and XmlHttpRequest objects rather than bypassing them.

### Ok I’m sold, where can I read more about CORS?

You can find the CORS spec here: http://www.w3.org/TR/cors/ You can learn more about
how to use CORS here: [https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)

### What is something does not work?

LH Multisite CORS, and all [https://lhero.org](https://lt.wordpress.org/plugins/lh-multisite-cors/LocalHero?output_format=md)
plugins are made to WordPress standards. Therefore they should work with all well
coded plugins and themes. However not all plugins and themes are well coded (and
this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch
to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: [https://wordpress.org/support/plugin/lh-multisite-cors/](https://wordpress.org/support/plugin/lh-multisite-cors/).
I look there regularly and resolve most queries.

### What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

## Atsiliepimai

![](https://secure.gravatar.com/avatar/19959b9a2d9798772f67b14ee1c7573ef71ed921a1d8080b74f616ea61f4f364?
s=60&d=retro&r=g)

### 󠀁[great, it’s working for me](https://wordpress.org/support/topic/great-its-working-for-me/)󠁿

 [mizuhara](https://profiles.wordpress.org/mizuhara/) 7 birželio, 2022

great, it’s working for me thanks

![](https://secure.gravatar.com/avatar/68d12b0bc5a279b854b74161cd3746f387b7549281de909163cf0399cd53e706?
s=60&d=retro&r=g)

### 󠀁[it doesnt works](https://wordpress.org/support/topic/it-works-2134/)󠁿

 [ntalam](https://profiles.wordpress.org/ntalam/) 4 liepos, 2021 1 reply

Sorry. it doesnt „has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’
header is present on the requested resource.”

![](https://secure.gravatar.com/avatar/fb841d75e4fb605268fc98858a19defd32051095d03f6b236ef375c5cb872257?
s=60&d=retro&r=g)

### 󠀁[Works Beautifully](https://wordpress.org/support/topic/works-beautifully-105/)󠁿

 [advertiseit](https://profiles.wordpress.org/advertiseit/) 15 rugsėjo, 2017

Does exactly what it should. Hassle free.

 [ Perskaityti visus atsiliepimus (3) ](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/)

## Programuotojai ir komandos nariai

“LH Multisite CORS” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės
surašyti toliau.

Autoriai

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[Išverskite “LH Multisite CORS” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/lh-multisite-cors)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/lh-multisite-cors/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/lh-multisite-cors/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/lh-multisite-cors/)
per [RSS](https://plugins.trac.wordpress.org/log/lh-multisite-cors/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

**1.00 April 12, 2016**
 Initial release.**1.01 March 24, 2017** Fixed php strict
errors**1.02 July 27, 2017** Added class check

## Metainformacija

 *  Version **1.02**
 *  Atnaujinta **prieš 4 metai**
 *  Aktyvių instaliacijų **300+**
 *  WordPress versija ** 3.6 ar naujesnė **
 *  Ištestuota iki **6.0.12**
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/lh-multisite-cors/)
 * Žymos
 * [ajax](https://lt.wordpress.org/plugins/tags/ajax/)[cors](https://lt.wordpress.org/plugins/tags/cors/)
   [rest](https://lt.wordpress.org/plugins/tags/rest/)
 *  [Daugiau](https://lt.wordpress.org/plugins/lh-multisite-cors/advanced/)

## Įvertinimai

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lh-multisite-cors/reviews/)

## Autoriai

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/lh-multisite-cors/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](https://lhero.org/portfolio/lh-multisite-cors/)