The 'Access-Control-Allow-Origin' header contains multiple values Wordpress Website and Parallel Plesk(windows Hosting)
<p>I am trying to access web service in my phonegap project but this is showing me this error
The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Origin 'null' is therefore not allowed access.</p>

<p>The Website is in wordpress and hosted in Parallel Plesk(windows Hosting).</p>

<p>I have also added this in web.config but i did not succeed-</p>

<pre><code>&lt;httpProtocol&gt;
        &lt;customHeaders&gt;
            &lt;add name="Access-Control-Allow-Origin" value="*" /&gt;
                &lt;add name="Access-Control-Allow-Headers" value="Origin, Content-Type, Authorization, Accept, X-Request-With" /&gt;
                &lt;add name="Access-Control-Allow-Methods" value="GET, POST, PUT,  DELETE, OPTIONS" /&gt;
                &lt;add name="Access-Control-Allow-Credentials" value="true" /&gt;
        &lt;/customHeaders&gt;
    &lt;/httpProtocol&gt;
</code></pre>

<p>Any Help would be appreciated, Thanks in advance.</p>