Hi! I’m having trouble with a form that uses EE’s contact form tag. In the front end, the form action uses a http url, so I get a browser warning.
I double-checked URL settings. This is the second site in a MSM install, the form in the first install works perfectly. Both forms used FormGrab originally, with the same problem presenting in site 2.
{exp:email:contact_form recipients="REDACTED" redirect="none" return="es/contacto-gracias" form_class="cform"}What else should I check?
Hi Nelly,
It looks like the Contact Form’s action url is based on the value for $config['site_url']. In an MSM setup you might have this set in your second site’s index.php file as $assign_to_config['site_url'].
It might also be worth checking inside the control panel under Developer > Settings > URL and Path Settings and look at the value for Default base URL.
Hi Bryan,
That’s it! It was the config value in index.php.
Default base URL was correct, it was driving me crazy. Problem solved, thank you so much!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.