We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

.htaccess stopping safecracker from doing its thing on home page

Development and Programming

ahmad saad's avatar
ahmad saad
364 posts
about 13 years ago
ahmad saad's avatar ahmad saad

I am having an issue where the htaccess seems to be messing up the safecraker from, when i press submit the page just refreshes and the content is not added to EE.

Here is the htaccess code (I put the system in sub dir /dev/alo001/):

<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 ^(.*)$ /dev/alo001/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>

more info: Admin > General Configuration is the field for “Name of your site’s index page” is empty

the site groub template is the home page group the odd thing that when I go to the home page http://mydomain.com/dev/alo001/ the form the page just refreshes and the content is not added to EE. but if I go to http://mydomain.com/dev/alo001/site/ it’s work fine!!!!!!!!!!!

I hope this will be clear.

Thank’s, Ahmad

       
ahmad saad's avatar
ahmad saad
364 posts
about 13 years ago
ahmad saad's avatar ahmad saad

any idea here please

       
ahmad saad's avatar
ahmad saad
364 posts
about 13 years ago
ahmad saad's avatar ahmad saad

if you have the same problem go to http://www.ellislab.com/forums/viewthread/233216/ and find the solution .

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.