• capinha

    (@capinha)


    Hello

    I have the plugin installed on a site that we can access through two different addresses, http://www.domain.com and http://www.domain.pt. The address http://www.domain.com is the domain that is registered in the backoffice for the website and backoffice.
    The plugin works correctly in the domain http://www.domain.com, but if I access it with http://www.domain.pt, the accept button does not work and in the error console it says “No Access-Control-Allow-Origin header”.
    I ran a test by editing .htaccess and including the following on http://www.domain.com:

    <IfModule mod_headers.c>
       <FilesMatch> \. (Ttf | ttc | otf | eot | woff | woff2 | font.css | css | js) $ “>
         Header set Access-Control-Allow-Origin “*”
       </ FilesMatch>
    </ IfModule>

    Should this solve this problem or ?

The topic ‘Doesn’t works with multi domain’ is closed to new replies.