This question may be related to a resolved thread.
So I was using freeform, and I asked around on their support site for help and it seems to be an issue with the htaccess. It turned out that even the standard EE email forms.
I tried this on a blank tempate:
{exp:email:contact_form user_recipients="no" recipients="[email protected]" charset="utf-8" return="http://jandyrocks.com/contact/thank-you"}
<h2>Support Form</h2>
<p> <br />
<label for="from">Your Email:</label></p>
<p> <input type="text" id="from" name="from" size="40" maxlength="35" value="{member_email}" /><br />
<br />
<br />
<label for="subject">Subject:</label></p>
<p> <input type="text" id="subject" name="subject" size="40" value="Contact Form" /><br />
<br />
<br />
<label for="message">Message:</label></p>
<p> <textarea id="message" name="message" rows="18" cols="40"><br />
Support Email from: {member_name}<br />
Sent at: {current_time format="%Y %m %d"}<br />
</textarea><br />
<br />
<br />
<input name="submit" type='submit' value='Submit Form' /><br />
<br />
{/exp:email:contact_form}It redirects to the homepage despite the redirect, and no emails get sent.
I’ve tried this:
AcceptPathInfo On
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
# Looks for files and directories that do not exist
# and provide the segments to the index.php file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^/index.php
RewriteCond $1 !.(css|js|png|jpe?g|gif|ico)$ [NC]
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>and this:
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
# If 404s, "No Input File" or every URL returns the same thing
# make it /index.php?/$1 above (add the question mark)
</IfModule>for the htaccess, but the only thing that seems to work is removing htaccess completely and putting the index.php back, which I’d rather not do.
Is there anything else I can try? this site has to launch soon and I’m not sure what to do. for what its worth, this is a new issue, I have two sites that are having this problem, this one is new and originally built on 2.5.0, and the other was first built on 2.4, but upgraded to 2.5 before launch and the forms worked on 2.4 but not on 2.5. Did something change? I’m baffled, but I really need form submissions to work!
thanks!