WP-Form no error message

Hi,

im useing the mautic plugin in wordpress.

For my campaign i need a cron because emails where send at a relative time periode.

I config mautic in the general settings and set the siteurl like “https://subdomain.domain.com/mautic/index.php”. This is only usefull for the links in my emails to open them correctly. But the Form in WP got an error: “GET https://subdomain.domain.com/mautic/index.php/media/js/mautic-form.js” (404)

(emails which are sending immediately works correctly)

If i change the SiteURL in the general settings to “https://subdomain.domain.com/mautic/” the Form works fine but the link in an email need the “index.php” to open it correctly.

How can i setup mautic that form and link in email works fine ?

Mautic Version 2.11.0