Support Forums - Classified Ads Script Osclass
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
How to Fix No 'Access-Control-Allow-Origin ?
Support Forums - Classified Ads Script Osclass
Osclass theme support
Veronika Osclass Responsive Theme
How to Fix No 'Access-Control-Allow-Origin ?
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Print
Pages: [
1
]
okaka14
3 posts
How to Fix No 'Access-Control-Allow-Origin ?
«
on:
May 19, 2018, 10:41:42 AM »
Can anyone help me how to fix this problem
" Failed to load
https://example.com/contact?ajaxRequest=1&ajaxItem=1&pattern=examplekeyword
:
No 'Access-Control-Allow-Origin
' header is present on the requested resource. Origin '
http://example.com
' is therefore not allowed access".
your comments and suggestions are highly appreciated. Thanks
«
Last Edit: May 19, 2018, 10:57:58 AM by okaka14
»
Logged
MB Themes
Support team
18752 posts
Only quality matters
Download Osclass
Re: How to Fix No 'Access-Control-Allow-Origin ?
«
Reply #1 on:
May 19, 2018, 11:03:43 AM »
Try to use .htaccess solution, I think it works for me.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Marked as best answer by
frosticek
on May 19, 2018, 03:28:29 PM
okaka14
3 posts
Re: How to Fix No 'Access-Control-Allow-Origin ?
«
Reply #2 on:
May 19, 2018, 11:16:06 AM »
Quote from: MB Themes on May 19, 2018, 11:03:43 AM
Try to use .htaccess solution, I think it works for me.
use this code (.htaccess )
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
Finally , it's work
thank you !! for your suggestion
Logged
Print
Pages: [
1
]