<p>If I understand what you're asking—it sounds like you can just disable URLs for that section, and create a template that will get loaded at the URL you want.</p>

<p>For example, if you had a <em>Section</em> called “Plants,” and you wanted to list all plants at mywebsite.com/plants, you could just create <code>craft/templates/plants.twig</code>:</p>

<pre class="lang-html prettyprint-override"><code>{% set plants = craft.entries({ section: 'plants', limit: null }).find %}

&lt;ul&gt;
  {% for plant in plants %}
    &lt;li&gt;{{ plant.title }}&lt;/li&gt;
  {% endear %}
&lt;/ul&gt;
</code></pre>

<p>If you need to edit anything on that page, you'll need to create another entry (probably a <em>Single</em>) to manage that content.</p>

CC BY-SA 3.0
2017-04-14T00:42:20.760Z
2017-04-14T00:42:20.760Z
August Miller
<p>A section in Craft (regardless of it is a Single, Channel or Structure section) is defined by a combination of your Craft Site URL (defined under <code>Settings-&gt;General</code> or overwritten via <a href="https://craftcms.com/docs/config-settings#siteUrl" rel="nofollow noreferrer">https://craftcms.com/docs/config-settings#siteUrl</a>) and that section's "Entry URL Format" under the section's settings (<code>Settings-&gt;Sections-&gt;(your structure section)-&gt;Entry URL Format</code>).</p>

<p>You can read more about them here: <a href="https://craftcms.com/docs/sections-and-entries" rel="nofollow noreferrer">https://craftcms.com/docs/sections-and-entries</a></p>

CC BY-SA 3.0
2017-01-13T22:45:48.470Z
Thanks! I got a bit stuck poking around there. I was trying to find a way to do with without the entries getting a URL. I forgot that detail in the question. The demo site had a location Structure embedded in a Single that I was literally just now trying to emulate.
ponies
CC BY-SA 3.0
2017-01-13T22:55:46.110Z
Actually, you answered the question I posed, but it wasn't the one I meant to ask. Would it be best to un-edit my question and accept your answer for posterity, then ask the question I meant to?
ponies
CC BY-SA 3.0
2017-01-15T04:31:44.293Z
Probably best just to post a new question and leave this one here for posterity.
Brad Bell
CC BY-SA 3.0
2017-01-13T22:30:37.757Z
2017-01-13T22:30:37.757Z
Brad Bell
<p>I have entries in a structure section. I'd like the users to view the list of entries without the entries themselves being assigned URLs.</p>

<p>How can I set a URL for the top level of a Structure section without enabling "Entry URL Format"?</p>

<structure><url>
How to set a URL for the top level of a Structure section?
# How to set a URL for the top level of a Structure section?

(Asked by: username_0 on 2017-01-13)

I have entries in a structure section. I'd like the users to view the list of entries without the entries themselves being assigned URLs.

How can I set a URL for the top level of a Structure section without enabling "Entry URL Format"?

**Tags:** structure, url


---

## 2 answers

### Answer by username_1 on 2017-04-14. Score: 2

If I understand what you're asking—it sounds like you can just disable URLs for that section, and create a template that will get loaded at the URL you want.
For example, if you had a Section called “Plants,” and you wanted to list all plants at mywebsite.com/plants, you could just create craft/templates/plants.twig:
{% set plants = craft.entries({ section: 'plants', limit: null }).find %}


  {% for plant in plants %}
    {{ plant.title }}
  {% endear %}


If you need to edit anything on that page, you'll need to create another entry (probably a Single) to manage that content.


---

### Answer by username_2 on 2017-01-13. Score: 0

A section in Craft (regardless of it is a Single, Channel or Structure section) is defined by a combination of your Craft Site URL (defined under `Settings->General` or overwritten via <https://craftcms.com/docs/config-settings#siteUrl>) and that section's "Entry URL Format" under the section's settings (`Settings->Sections->(your structure section)->Entry URL Format`).

You can read more about them here: <https://craftcms.com/docs/sections-and-entries>

> **Comments:**
> **username_0**: Thanks! I got a bit stuck poking around there. I was trying to find a way to do with without the entries getting a URL. I forgot that detail in the question. The demo site had a location Structure embedded in a Single that I was literally just now trying to emulate.  
> **username_0**: Actually, you answered the question I posed, but it wasn't the one I meant to ask. Would it be best to un-edit my question and accept your answer for posterity, then ask the question I meant to?  
> **username_2**: Probably best just to post a new question and leave this one here for posterity.  

---

