Answers.Body: <p>It sounds like you need to enable the .htaccess file in the root directory of your site.</p>
  
  <p>By default, the .htaccess file included with Craft is named htaccess (without the period). The period needs to be added to the beginning of the file.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-29T09:06:17.807Z
Answers.Text: .htaccess was enabled. I verified this via adding an invalid string to the .htaccess file, which caused index.php to give a 500 error (if I recall correctly)
Answers.UserDisplayName: kai
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-28T15:31:05.190Z
Answers.LastActivityDate: 2016-03-28T15:31:05.190Z
Answers.UserDisplayName: Jeremy Gimbel
Answers.Body: <p>Disabling the <code>omitScriptNameInUrls</code> config option makes it work. Not sure if this is a "solution" though</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-28T11:07:12.223Z
Answers.LastActivityDate: 2016-03-29T09:07:19.750Z
Answers.LastEditDate: 2016-03-29T09:07:19.750Z
Answers.UserDisplayName: kai
Body: <p>It looks like Apache (or Craft?) isn't routing all of the requests to index.php. So <a href="http://SITENAME/index.php?p=admin/install" rel="nofollow noreferrer">http://SITENAME/index.php?p=admin/install</a> works, but <a href="http://SITENAME/admin/install" rel="nofollow noreferrer">http://SITENAME/admin/install</a> doesn't. The issue is this is happening with every URL, so the HTML for the install page loads, but none of the assets (CSS, JS) do.</p>
  
  <p>Here's my issue in picture form:</p>
  
  <p><a href="https://i.sstatic.net/LzB0H.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LzB0H.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.sstatic.net/kOBdB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kOBdB.png" alt="enter image description here"></a></p>
  
Tags: <apache>
Title: (Apache) pages only load when adding index.php?p=
ThreadText: # (Apache) pages only load when adding index.php?p=
  
  (Asked by: username_0 on 2016-03-28)
  
  It looks like Apache (or Craft?) isn't routing all of the requests to index.php. So <http://SITENAME/index.php?p=admin/install> works, but <http://SITENAME/admin/install> doesn't. The issue is this is happening with every URL, so the HTML for the install page loads, but none of the assets (CSS, JS) do.
  
  Here's my issue in picture form:
  
  [![enter image description here](https://i.sstatic.net/LzB0H.png)](https://i.sstatic.net/LzB0H.png)
  
  [![enter image description here](https://i.sstatic.net/kOBdB.png)](https://i.sstatic.net/kOBdB.png)
  
  **Tags:** apache
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-03-28. Score: 1
  
  It sounds like you need to enable the .htaccess file in the root directory of your site.
  
  By default, the .htaccess file included with Craft is named htaccess (without the period). The period needs to be added to the beginning of the file.
  
  > **Comments:**
  > **username_0**: .htaccess was enabled. I verified this via adding an invalid string to the .htaccess file, which caused index.php to give a 500 error (if I recall correctly)  
  
  ---
  
  ### Answer by username_0 on 2016-03-28. Score: 1
  
  Disabling the `omitScriptNameInUrls` config option makes it work. Not sure if this is a "solution" though
  
  
  ---
  
  