Answers.Body: <p>Your syntax is wrong. 
  You don't need to put "('service')" inside your twig code plus you don't need to enter your siteUrl.</p>
  
  <p>If you fill the href with <code>/services</code> it should work like supposed to. </p>
  
  <p>If you are having trouble with <code>index.php</code> being in your URL you should check this guide out in the docs.</p>
  
  <p><a href="https://craftcms.com/support/remove-index.php" rel="nofollow noreferrer">https://craftcms.com/support/remove-index.php</a></p>
  
  <p>Another thing,
  You shouldn't put any HTML / Template files inside your public_html folder. They should all be in the <code>craft/templates</code> folder.</p>
  
  <p>More in the docs here: <a href="https://craftcms.com/docs/folder-structure" rel="nofollow noreferrer">https://craftcms.com/docs/folder-structure</a></p>
  
  <p>Also make sure you made a entry for the page you want in this case "services".</p>
  
  <p>If you keep finding problems like this you should try the Craft CMS Slack channel. Over 4000 developers joined already and are able to help you in a more direct way. </p>
  
  <p><a href="https://craftcms.com/community#slack" rel="nofollow noreferrer">https://craftcms.com/community#slack</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-14T11:25:38.640Z
Answers.LastActivityDate: 2017-04-14T11:25:38.640Z
Answers.UserDisplayName: Justin Dekkers
Body: <p>My navigation looks like so:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{{ url('http://www.mysite.com/') }}" {% if craft.request.firstSegment == 'home' %}class="active"{% endif %}&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="{{ siteUrl('services') }}" {% if craft.request.firstSegment == 'service' %}class="active"{% endif %}&gt;Services&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>But when I click on "services", I get 404 not found.  What I'm trying to understand is where is my URL? I thought it would be something like <code>www.mysite.com/index.php/services</code>.</p>
  
  <p>I have tried laying this out in both public HTML part of my server and the Craft folder.</p>
  
  <p>My folder structure is:</p>
  
  <pre><code>Route/
      css/
      img/
      index.php
      _layout.html
      _services.html; this is the file i need to navigate to
  </code></pre>
  
Tags: <navigation>
Title: Navigation to URL
ThreadText: # Navigation to URL
  
  (Asked by: username_0 on 2017-04-14)
  
  My navigation looks like so:
  
  ```
  <li><a href="{{ url('http://www.mysite.com/') }}" {% if craft.request.firstSegment == 'home' %}class="active"{% endif %}>Home</a></li>
  <li><a href="{{ siteUrl('services') }}" {% if craft.request.firstSegment == 'service' %}class="active"{% endif %}>Services</a></li>
  
  ```
  
  But when I click on "services", I get 404 not found. What I'm trying to understand is where is my URL? I thought it would be something like `www.mysite.com/index.php/services`.
  
  I have tried laying this out in both public HTML part of my server and the Craft folder.
  
  My folder structure is:
  
  ```
  Route/
      css/
      img/
      index.php
      _layout.html
      _services.html; this is the file i need to navigate to
  
  ```
  
  **Tags:** navigation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-04-14. Score: 1 | Accepted answer
  
  Your syntax is wrong.
  You don't need to put "('service')" inside your twig code plus you don't need to enter your siteUrl.
  
  If you fill the href with `/services` it should work like supposed to.
  
  If you are having trouble with `index.php` being in your URL you should check this guide out in the docs.
  
  <https://craftcms.com/support/remove-index.php>
  
  Another thing,
  You shouldn't put any HTML / Template files inside your public\_html folder. They should all be in the `craft/templates` folder.
  
  More in the docs here: <https://craftcms.com/docs/folder-structure>
  
  Also make sure you made a entry for the page you want in this case "services".
  
  If you keep finding problems like this you should try the Craft CMS Slack channel. Over 4000 developers joined already and are able to help you in a more direct way.
  
  <https://craftcms.com/community#slack>
  
  
  ---
  
  