Answers.Body: <p>It sounds like you haven't set up your .htaccess file or have failed to rename it. The file in the default set up doesn't have the <code>.</code> at the start.</p>
  
  <p>Read <a href="https://docs.craftcms.com/v2/installing.html" rel="nofollow noreferrer">https://docs.craftcms.com/v2/installing.html</a> carefully. The bit concerning htaccess is just before step 2.</p>
  
  <p>Also ensure you're files are in the right place.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-01T13:11:13.657Z
Answers.Text: My htaccess file is .htaccess and contains the text 'deny from all'
Answers.UserDisplayName: Al-76
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-01T14:32:37.260Z
Answers.Text: @Al-76 that's probably the wrong .htaccess file. You need to have a .htaccess in the public folder.
Answers.UserDisplayName: AbbeyDesign
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-01T14:42:17.407Z
Answers.Text: @AbbeyDesign Thank you very much for pointing that out. I have updated this one and the URLS are now correct.
Answers.UserDisplayName: Al-76
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-01T11:06:20.600Z
Answers.LastActivityDate: 2018-09-01T16:45:51.827Z
Answers.LastEditDate: 2018-09-01T16:45:51.827Z
Answers.UserDisplayName: foamcow
Body: <p>I am very new to Craft and have only been working with it for a few hours. However, I am stuck with something I can't seem to figure out. </p>
  
  <p>I understand the basics of templates, of which I have an index.php using <code>% extends "_layout" %</code> Then I created a new Section with the Section Type set as Single for About. Craft sets the Entry template to about and I have the URL set to be about. Then I create a new template file called about.html.</p>
  
  <p>However, the problem comes when I go to view it on localhost/about as I get the following message;</p>
  
  <p><strong>The requested URL /about was not found on this server.</strong> </p>
  
  <p>But when I navigate to index.php/about it is there. I'm confused as to why the architecture of the URL is set up this way as on a normal website you would'nt have index.php/ before every other page on your site.</p>
  
  <p>Is this fixable?</p>
  
Tags: <templating><craft2>
Title: How do I remove the index.php from all URLS in Craft 2 CMS?
ThreadText: # How do I remove the index.php from all URLS in Craft 2 CMS?
  
  (Asked by: username_0 on 2018-09-01)
  
  I am very new to Craft and have only been working with it for a few hours. However, I am stuck with something I can't seem to figure out.
  
  I understand the basics of templates, of which I have an index.php using `% extends "_layout" %` Then I created a new Section with the Section Type set as Single for About. Craft sets the Entry template to about and I have the URL set to be about. Then I create a new template file called about.html.
  
  However, the problem comes when I go to view it on localhost/about as I get the following message;
  
  **The requested URL /about was not found on this server.**
  
  But when I navigate to index.php/about it is there. I'm confused as to why the architecture of the URL is set up this way as on a normal website you would'nt have index.php/ before every other page on your site.
  
  Is this fixable?
  
  **Tags:** templating, craft2
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-09-01. Score: 1
  
  It sounds like you haven't set up your .htaccess file or have failed to rename it. The file in the default set up doesn't have the `.` at the start.
  
  Read <https://docs.craftcms.com/v2/installing.html> carefully. The bit concerning htaccess is just before step 2.
  
  Also ensure you're files are in the right place.
  
  > **Comments:**
  > **username_0**: My htaccess file is .htaccess and contains the text 'deny from all'  
  > **username_2**: @username_0 that's probably the wrong .htaccess file. You need to have a .htaccess in the public folder.  
  > **username_0**: @username_2 Thank you very much for pointing that out. I have updated this one and the URLS are now correct.  
  
  ---
  
  