• Home
  • Create Plugins
  • Contact Us
  • Demo
    Installation & MaintenancePersonalizationSettingsClient ManagementInvoices & PaymentsProjects & TasksTeam & CollaborationProductivity ToolsSales & ServicesPluginsFAQChange logs
  1. Docs
  2. Installation & Maintenance

Enable CORS on the Lead form (ajax)

If you're trying to collect leads from an external website (like a WordPress site) using an AJAX form, you might see a CORS error in the browser console. This means the request was blocked because it came from another domain.

How to Allow External Websites (Fix CORS Error)

To allow requests from specific websites, edit the file: app/Config/Cors.php

 'allowedOrigins' => ['https://www.your-wordpress-website.com'],
Was this article helpful? Yes No
How can we improve this article?
© 2026 Fairsketch
Home 3rd Party Plugins Get Support Buy Now

Delete?

Are you sure? You won't be able to undo this action!
To do