- Posts: 3856
- Thank you received: 515
- Forum
- Fox Contact Form
- Documentation
- Troubleshooting
- Form doesn't send email and redirects to a different page
Form doesn't send email and redirects to a different page
- Demis [Fox-Labs]
-
Topic Author
- Offline
Less
More
06 May 2013 13:36 - 04 Jun 2015 15:15 #1
by Demis [Fox-Labs]
When submitting a form, it doesn't send any email and redirects to a different page.
Example:
The form has the URL http://website.com/contact-us.html.
Based on your actual component id or module id, after the submission the URL in the browser's bar should be http://website.com/contact-us.html#cid_100 but on the contrary it becomes http://website.com/#cid_100.
Additional details:
This problem happens when a 3rd party plugin adds a <base href> tag, on the <head> section of your pages.
When the <base href> tag is set to http://website.com/, relative links such as "#cid_100", which should be resolved in http://website.com/contact-us.html#cid_100 became http://website.com/#cid_612 which is a completely different page.
Solution:
If you don't have a valid reason to set a specific <base href> value, leave it to its default. The experts recommend not to use the <base> URL tag . First of all, it is outdated. In addition, it is often an unpredictable weapon.
Artio JoomSEF
JoomAce AceSEF
In its default configuration, AceSEF sets a base href tag.
Form doesn't send email and redirects to a different page was created by Demis [Fox-Labs]
Note: This article exists for its historical interests only. Recent versions of Fox Contact are not influenced by the matter discussed below.
When submitting a form, it doesn't send any email and redirects to a different page.
Example:
The form has the URL http://website.com/contact-us.html.
Based on your actual component id or module id, after the submission the URL in the browser's bar should be http://website.com/contact-us.html#cid_100 but on the contrary it becomes http://website.com/#cid_100.
Additional details:
This problem happens when a 3rd party plugin adds a <base href> tag, on the <head> section of your pages.
When the <base href> tag is set to http://website.com/, relative links such as "#cid_100", which should be resolved in http://website.com/contact-us.html#cid_100 became http://website.com/#cid_612 which is a completely different page.
Kyle Haakenson, of SEO Web Design LLC reported that on GoDaddy shared hosting, this problem may happen even without any base href tag. He solved editing his Joomla .htaccess file as described here .
Solution:
If you don't have a valid reason to set a specific <base href> value, leave it to its default. The experts recommend not to use the <base> URL tag . First of all, it is outdated. In addition, it is often an unpredictable weapon.
Artio JoomSEF
- Go to Artio JoomSEF Configuration.
- Ensure that "Enable Professional mode" is enabled. If disabled, enable it and save. A new section named "Advanced" should appear between the "Basic" and "Cache" sections.
- Open the "Advanced" section.
- Set the property "Set page base href value:" to whatever value other than "Yes - always use only base URL", which doesn't work. Working values are therefore "Yes - always use full SEO URL", "No - Leave original" and "No - Disable base href generation".
JoomAce AceSEF
In its default configuration, AceSEF sets a base href tag.
Please Log in or Create an account to join the conversation.