For SEO reasons I have index.php redirecting to domain.com. When you submit a form on my install nothing happens. When I looked at "front end" view I noticed the url has index.php in it. The URL after submiting on front end view, looks like this.. This actually works.
index.php?option=com_chronoforms&chronoform=Contact_Us
index.php?option=com_chronoforms&chronoform=Contact_Us&event=submit
The URL after submiting on live site, does not work, looks like this.
contact-us?chronoform=Contact_Us&event=submit
So it looks like my rules in .htaccess are messing with Chronos.. I'm absolute noob when it comes to those rules and just implemented them from a post at joomla forum I found to resolve duplicate content issues with index.php... Here is the rerwrite rules..
Any thoughts on how I can keep the redirect for all pages containing index.php except for this chornos form? OR... would it be best to alter chronos so it does not use index.php some how?
index.php?option=com_chronoforms&chronoform=Contact_Us
index.php?option=com_chronoforms&chronoform=Contact_Us&event=submit
The URL after submiting on live site, does not work, looks like this.
contact-us?chronoform=Contact_Us&event=submit
So it looks like my rules in .htaccess are messing with Chronos.. I'm absolute noob when it comes to those rules and just implemented them from a post at joomla forum I found to resolve duplicate content issues with index.php... Here is the rerwrite rules..
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*(index|home)\.html?\ HTTP/
RewriteRule ^(([^/]+/)*)(index|home)\.html?$ http://www.domain.com/$1 [R=301,L]
RewriteCond %{THE_REQUEST} !^POST
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.php\ HTTP/
RewriteCond %{SERVER_PORT}>s ^(443>(s)|[0-9]+>s)$
RewriteRule ^(([^/]+/)*)index\.php$ http%2://www.domain.com/$1 [R=301,L]
# Remove index.php from sub pages e.g. http://www.domain.com/index.php/about --> http://www.domain.com/about
RewriteCond %{THE_REQUEST} !^POST
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.php/([^\ ]*)\ HTTP/
RewriteCond %{SERVER_PORT}>s ^(443>(s)|[0-9]+>s)$
RewriteRule ^(([^/]+/)*)index\.php/(.*)$ http%2://www.domain.com/$1$3 [R=301,L]
Any thoughts on how I can keep the redirect for all pages containing index.php except for this chornos form? OR... would it be best to alter chronos so it does not use index.php some how?