Answers.Body: <p>Thanks to @brad-bell - his comment on another post pointed me in the right direction. I thought that I already checked on mode_rewrite but I didn't.</p>
  
  <blockquote>
    <p>The Apache mod_rewrite module wasn't installed, so the  block of Craft's default .htaccess file was being
    skipped not allowing index.php to be rewritten in the URL.</p>
  </blockquote>
  
  <p>Enabling mod_rewrite solved the issue.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T18:37:03.603Z
Answers.LastActivityDate: 2017-12-19T18:37:03.603Z
Answers.UserDisplayName: SoHo
Body: <p>I'm moving an existing site to the new server and spent a couple of days trying to make this work. </p>
  
  <p>Home page of the site loads just fine. Other pages load too if I add /index.php/ to the url. Otherwise I get 'Not Found' error.</p>
  
  <p>Have gone through all the suggestions here: <a href="https://craftcms.com/support/remove-index.php" rel="nofollow noreferrer">https://craftcms.com/support/remove-index.php</a>, here: <a href="https://craftcms.com/support/why-index.php" rel="nofollow noreferrer">https://craftcms.com/support/why-index.php</a>, and here: <a href="https://craftcms.com/support/enable-path-info" rel="nofollow noreferrer">https://craftcms.com/support/enable-path-info</a>. Everything checks out.</p>
  
  <p>My .htaccess in /public_html:</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} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
     RewriteRule (.+) index.php?p=$1 [QSA,L]
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I'm on a clean install of Apache server. Made sure I have all the required extensions and config matches suggestions on the Craft site.</p>
  
Tags: <craft-pro>
Title: Removing index.php causes Not Found error on secondary pages
ThreadText: # Removing index.php causes Not Found error on secondary pages
  
  (Asked by: username_0 on 2017-12-19)
  
  I'm moving an existing site to the new server and spent a couple of days trying to make this work.
  
  Home page of the site loads just fine. Other pages load too if I add /index.php/ to the url. Otherwise I get 'Not Found' error.
  
  Have gone through all the suggestions here: <https://craftcms.com/support/remove-index.php>, here: <https://craftcms.com/support/why-index.php>, and here: <https://craftcms.com/support/enable-path-info>. Everything checks out.
  
  My .htaccess in /public\_html:
  
  ```
  <IfModule mod_rewrite.c>
     RewriteEngine On
  
     # Send would-be 404 requests to Craft
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
     RewriteRule (.+) index.php?p=$1 [QSA,L]
  
  </IfModule>
  
  ```
  
  I'm on a clean install of Apache server. Made sure I have all the required extensions and config matches suggestions on the Craft site.
  
  **Tags:** craft-pro
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-12-19. Score: 1 | Accepted answer
  
  Thanks to @brad-bell - his comment on another post pointed me in the right direction. I thought that I already checked on mode\_rewrite but I didn't.
  
  > The Apache mod\_rewrite module wasn't installed, so the block of Craft's default .htaccess file was being
  > skipped not allowing index.php to be rewritten in the URL.
  
  Enabling mod\_rewrite solved the issue.
  
  
  ---
  
  