Hi everyone,
My safecracker form is submitting fine on every page of my site except for the homepage.
I’ve read where this can be caused by the trailing slash but I can’t get it to disappear from the homepage.
I’ve got this in my htaccess:
# remove index.php on Dreamhost
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond $1 !^(index\.php|themes|images|echobase|-includes)
RewriteRule ^(.*)$ index.php?/$1 [L]
# ADDING ? to .php MAKES IT WORK ON DREAMHOST
</IfModule>
# Rewrite "domain.com/foo/ -> domain.com/foo"
<IfModule mod_rewrite.c>
RewriteRule ^(.*)/$ /$1 [R=301,L]
</IfModule>
Anybody have any ideas?
Thanks!
Brian