Body: <p>I created a Shop page here: <a href="https://www.intermountaincleaning.net/shop/products/diamond-magic" rel="nofollow noreferrer">https://www.intermountaincleaning.net/shop/products/diamond-magic</a>. The rest of the site is just static HTML (not Craft), and the Shop page is in a Shop folder within the public_html for the site.</p>
  
  <p>Craft is pulling in the correct _layout file, and it's including the _nav and _footer, but if you open dev tools there's a 404 error on the products/_product template.</p>
  
  <p>I'm staging the site here, and it's working just fine with the same templates: <a href="http://diamondmagic.jonathanweedin.com/shop/products/diamond-magic" rel="nofollow noreferrer">http://diamondmagic.jonathanweedin.com/shop/products/diamond-magic</a>.</p>
  
  <p>I can't figure out why Craft isn't pulling in the products/_product template. Attaching screenshots of my CP area, Craft folder, and public_html folder.</p>
  
  <p>Any guidance would be much appreciated. Thank you!</p>
  
  <p><a href="https://i.sstatic.net/Ik7QC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Ik7QC.png" alt="CP area of Craft Commerce"></a></p>
  
  <p><a href="https://i.sstatic.net/nai8f.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/nai8f.png" alt="Craft folder on the server"></a></p>
  
  <p><a href="https://i.sstatic.net/HP0PR.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HP0PR.png" alt="public_html folder on the server"></a></p>
  
  <p><strong>config/general.php</strong></p>
  
  <pre><code>&lt;?php
      return array(
          'siteUrl' =&gt; 'intermountaincleaning.net',
          'environmentVariables' =&gt; array(
              'baseUrl' =&gt; 'intermountaincleaning.net'
          ),
          'defaultWeekStartDay' =&gt; 0,
          'enableCsrfProtection' =&gt; true,
          'omitScriptNameInUrls' =&gt; 'auto',
          'cpTrigger' =&gt; '***********', // I'm ommitting this from StackExchange
          'devMode' =&gt; true,
          'tokenParam' =&gt; 'paypalexpress',
      );
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-30T21:42:17.637Z
Comments.Text: Can you post your config/general.php code?
Comments.UserDisplayName: Simon Kuran
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-30T22:25:07.607Z
Comments.Text: <?php
  
      return array(
  
       
       'siteUrl' => 'https://www.intermountaincleaning.net/',
  
   
       'environmentVariables' => array(
    'baseUrl' => 'https://www.intermountaincleaning.net/'
   ),
  
   
       'defaultWeekStartDay' => 0,
  
       'enableCsrfProtection' => true,
  
   
       'omitScriptNameInUrls' => 'auto',
  
   
       'cpTrigger' => '***********', // I'm ommitting this from StackExchange
  
   
       'devMode' => true,
  
       'tokenParam' => 'paypalexpress',
  
      );
Comments.UserDisplayName: Jon Weedin
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-30T23:17:35.587Z
Comments.Text: Is the config file exactly the same for live and staging?
Comments.UserDisplayName: Simon Kuran
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-31T00:28:10.227Z
Comments.Text: @SimonKuran Yes, except for the siteUrl and baseUrl variables.
Comments.UserDisplayName: Jon Weedin
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-31T01:41:55.150Z
Comments.Text: Hmm, I’m afraid I’m out of ideas. If it was me I’d try to break it in predictable ways to learn what’s going on. Try outputting ‘{{ dump(entry.title) }}’ to see if you’re loading an entry correctly.
Comments.UserDisplayName: Simon Kuran
Tags: <plugin-craftcommerce>
Title: 404 error on entry template in dev tools, but layout template loads
ThreadText: # 404 error on entry template in dev tools, but layout template loads
  
  (Asked by: username_0 on 2018-10-30)
  
  I created a Shop page here: <https://www.intermountaincleaning.net/shop/products/diamond-magic>. The rest of the site is just static HTML (not Craft), and the Shop page is in a Shop folder within the public\_html for the site.
  
  Craft is pulling in the correct \_layout file, and it's including the \_nav and \_footer, but if you open dev tools there's a 404 error on the products/\_product template.
  
  I'm staging the site here, and it's working just fine with the same templates: <http://diamondmagic.jonathanweedin.com/shop/products/diamond-magic>.
  
  I can't figure out why Craft isn't pulling in the products/\_product template. Attaching screenshots of my CP area, Craft folder, and public\_html folder.
  
  Any guidance would be much appreciated. Thank you!
  
  [![CP area of Craft Commerce](https://i.sstatic.net/Ik7QC.png)](https://i.sstatic.net/Ik7QC.png)
  
  [![Craft folder on the server](https://i.sstatic.net/nai8f.png)](https://i.sstatic.net/nai8f.png)
  
  [![public_html folder on the server](https://i.sstatic.net/HP0PR.png)](https://i.sstatic.net/HP0PR.png)
  
  **config/general.php**
  
  ```
  <?php
      return array(
          'siteUrl' => 'intermountaincleaning.net',
          'environmentVariables' => array(
              'baseUrl' => 'intermountaincleaning.net'
          ),
          'defaultWeekStartDay' => 0,
          'enableCsrfProtection' => true,
          'omitScriptNameInUrls' => 'auto',
          'cpTrigger' => '***********', // I'm ommitting this from StackExchange
          'devMode' => true,
          'tokenParam' => 'paypalexpress',
      );
  
  ```
  
  **Tags:** plugin-craftcommerce
  
  > **Comments:**
  > **username_1**: Can you post your config/general.php code?  
  > **username_0**: <?php      return array(             'siteUrl' => 'https://www.intermountaincleaning.net/',         'environmentVariables' => array(   'baseUrl' => 'https://www.intermountaincleaning.net/'  ),         'defaultWeekStartDay' => 0,       'enableCsrfProtection' => true,         'omitScriptNameInUrls' => 'auto',         'cpTrigger' => '***********', // I'm ommitting this from StackExchange         'devMode' => true,       'tokenParam' => 'paypalexpress',      );  
  > **username_1**: Is the config file exactly the same for live and staging?  
  > **username_0**: @username_1 Yes, except for the siteUrl and baseUrl variables.  
  > **username_1**: Hmm, I’m afraid I’m out of ideas. If it was me I’d try to break it in predictable ways to learn what’s going on. Try outputting ‘{{ dump(entry.title) }}’ to see if you’re loading an entry correctly.  
  
  ---
  
  ## 0 answers
  
  