Title: RSS CORS Enable
Author: No Frills Plugins
Published: <strong>19. juni, 2024</strong>
Last modified: 19. juni, 2024

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/rss-cors-enable.svg)

# RSS CORS Enable

 Av [No Frills Plugins](https://profiles.wordpress.org/nofrillsplugins/)

[Last ned](https://downloads.wordpress.org/plugin/rss-cors-enable.1.0.1.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/rss-cors-enable/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/rss-cors-enable/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/rss-cors-enable/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/rss-cors-enable/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/rss-cors-enable/)

## Beskrivelse

RSS CORS Enable is a simple yet powerful plugin designed to solve the common problem
of accessing WordPress RSS feeds from different origins. By default, accessing WordPress
RSS feeds via JavaScript from a domain different than the one where WordPress is
hosted can result in Cross-Origin Resource Sharing (CORS) errors. This plugin addresses
this issue by adding an `Access-Control-Allow-Origin: *` header to your WordPress
RSS feed, making it accessible from any origin.

## Installasjon

 1. Upload the `rss-cors-enable` directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. That’s it! The plugin works out of the box, no configuration is needed.

## Ofte stilte spørsmål

### Can I restrict the RSS feed to be available for specific domains instead of all?

Yes, although the default behaviour is to allow all origins (`Access-Control-Allow-
Origin: *`), you can modify the plugin code to specify specific domains. Replace
the `*` in the `header("Access-Control-Allow-Origin: *");` line with the domain 
you wish to allow. When you do this, it might be wiped away when upgrading the plugin.

### Does this plugin add CORS headers to other parts of my website than the RSS feed?

No, it shouldn’t, as far as we’ve tested. This plugin is specifically designed to
modify only the WordPress RSS feed responses. Other parts of your WordPress site
or API will not be affected.

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«RSS CORS Enable» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

 *   [ No Frills Plugins ](https://profiles.wordpress.org/nofrillsplugins/)

[Oversett «RSS CORS Enable» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/rss-cors-enable)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/rss-cors-enable/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/rss-cors-enable/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/rss-cors-enable/)
med [RSS](https://plugins.trac.wordpress.org/log/rss-cors-enable/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

 * Initial release. Adds CORS header to WordPress RSS feeds.

## Meta

 *  Versjon **1.0.1**
 *  Sist oppdatert **2 år siden**
 *  Aktive installasjoner **90+**
 *  WordPress-versjon ** 5.5 eller nyere **
 *  Testet opp til **6.5.8**
 *  PHP-versjon ** 5.6 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/rss-cors-enable/)
 * Stikkord
 * [cors](https://nb.wordpress.org/plugins/tags/cors/)[feeds](https://nb.wordpress.org/plugins/tags/feeds/)
   [rss](https://nb.wordpress.org/plugins/tags/rss/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/rss-cors-enable/advanced/)

## Vurderinger

No reviews have been submitted yet.

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

[Se alle omtalene](https://wordpress.org/support/plugin/rss-cors-enable/reviews/)

## Bidragsytere

 *   [ No Frills Plugins ](https://profiles.wordpress.org/nofrillsplugins/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/rss-cors-enable/)