Answers.Body: <p>I hope you figured it out however, I just found adding</p>
  
  <pre><code>RewriteBase /
  </code></pre>
  
  <p>right under RewriteEngine On fixed my issue.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-07T15:56:49.927Z
Answers.LastActivityDate: 2015-03-07T15:56:49.927Z
Answers.UserDisplayName: danhere
Answers.Body: <p>From what I gather, I think the problem is that your <code>.htaccess</code> is not in the webroot. try putting it in the same dir as <code>web.config</code>. </p>
  
  <p>Also bare in mind that there are two <code>.htaccess</code>, the other is in /craft dir, and that one should stay there and not edited.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-12T21:45:37.760Z
Answers.LastActivityDate: 2015-05-12T21:45:37.760Z
Answers.UserDisplayName: Kenyon Kowal
Body: <p>When I try the solution mentioned <a href="http://buildwithcraft.com/help/remove-index.php" rel="nofollow">here</a>, my site breaks, pages not found. Even the <code>/admin/</code> pages break, losing all styling. The only page which loads is the homepage.</p>
  
  <p>Any thoughts about why? I was having htaccess issues, but I believe those are all fixed now.</p>
  
  <p>This is the htaccess file in the the top level craft folder</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
  
      # Send would-be 404 requests to Craft
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} ^/blog [NC]
      RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
      RewriteRule (.+) index.php?p=$1 [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>There is the root: 
  <code>brianfeeney.us/</code></p>
  
  <p>Which contains both:
  <code>brianfeeney.us/blog</code> (WP)
  <code>brianfeeney.us/craft</code></p>
  
  <p>The index.php in my root points towards <code>/blog/</code></p>
  
  <p>thanks for the help</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-30T18:23:37.903Z
Comments.Text: Can you share the .htaccess file you're using in your public HTML folder?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-01T13:09:08.717Z
Comments.Text: I don't have an .htaccess file in the public folder. Should I? The /public and /craft folders are both in the same folder (brianfeeney.us/craft/..).    This is the htaccess file in the the top level craft folder           `<IfModule mod_rewrite.c>
      RewriteEngine On
  
      # Send would-be 404 requests to Craft
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_URI} ^/blog [NC]
      RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
      RewriteRule (.+) index.php?p=$1 [QSA,L]
  </IfModule>`
Comments.UserDisplayName: brian
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-01T16:47:23.693Z
Comments.Text: Can you edit the original question and add that as well as what your folder structure looks like?  Pretty hard to read as code in the comments.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-02T21:11:18.503Z
Comments.Text: Is there any .htaccess file at the root of brianfeeney.us? If so, .htaccess rules inherit from their parent so one of those could be interfering with Craft's.
Comments.UserDisplayName: Brad Bell
Tags: <admin><index>
Title: Removing /index.php/ from url breaks site
ThreadText: # Removing /index.php/ from url breaks site
  
  (Asked by: username_0 on 2014-09-30)
  
  When I try the solution mentioned [here](http://buildwithcraft.com/help/remove-index.php), my site breaks, pages not found. Even the `/admin/` pages break, losing all styling. The only page which loads is the homepage.
  
  Any thoughts about why? I was having htaccess issues, but I believe those are all fixed now.
  
  This is the htaccess file in the the top level craft folder
  
  ```
  <IfModule mod_rewrite.c>
      RewriteEngine On
  
      # Send would-be 404 requests to Craft
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} ^/blog [NC]
      RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
      RewriteRule (.+) index.php?p=$1 [QSA,L]
  </IfModule>
  
  ```
  
  There is the root:
  `brianfeeney.us/`
  
  Which contains both:
  `brianfeeney.us/blog` (WP)
  `brianfeeney.us/craft`
  
  The index.php in my root points towards `/blog/`
  
  thanks for the help
  
  **Tags:** admin, index
  
  > **Comments:**
  > **username_1**: Can you share the .htaccess file you're using in your public HTML folder?  
  > **username_0**: I don't have an .htaccess file in the public folder. Should I? The /public and /craft folders are both in the same folder (brianfeeney.us/craft/..).    This is the htaccess file in the the top level craft folder           `<IfModule mod_rewrite.c>     RewriteEngine On      # Send would-be 404 requests to Craft     RewriteCond %{REQUEST_FILENAME} !-f     RewriteCond %{REQUEST_FILENAME} !-d  RewriteCond %{REQUEST_URI} ^/blog [NC]     RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]     RewriteRule (.+) index.php?p=$1 [QSA,L] </IfModule>`  
  > **username_1**: Can you edit the original question and add that as well as what your folder structure looks like?  Pretty hard to read as code in the comments.  
  > **username_1**: Is there any .htaccess file at the root of brianfeeney.us? If so, .htaccess rules inherit from their parent so one of those could be interfering with Craft's.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-03-07. Score: 3
  
  I hope you figured it out however, I just found adding
  
  ```
  RewriteBase /
  
  ```
  
  right under RewriteEngine On fixed my issue.
  
  
  ---
  
  ### Answer by username_3 on 2015-05-12. Score: 0
  
  From what I gather, I think the problem is that your `.htaccess` is not in the webroot. try putting it in the same dir as `web.config`.
  
  Also bare in mind that there are two `.htaccess`, the other is in /craft dir, and that one should stay there and not edited.
  
  
  ---
  
  