ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Safecracker not submitting just on homepage

June 02, 2011 1:45pm

Subscribe [2]
  • #1 / Jun 02, 2011 1:45pm

    brianearwood

    40 posts

    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

  • #2 / Jun 02, 2011 4:02pm

    brianearwood

    40 posts

    I managed to fix this. I needed to clear my caching in (Tools > Data > Clear Caching) menu.

  • #3 / Jun 02, 2011 4:14pm

    Sue Crocker

    26054 posts

    Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases