# Override section url

**URL:** <https://discourse.gohugo.io/t/override-section-url/6197>\
**Category:** support\
**Created:** [April 16, 2017, 5:53am UTC](https://discourse.gohugo.io/t/override-section-url/6197 "2017-04-16T05:53:40Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Jura](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jura/32/13581_2.png) [@Jura](https://discourse.gohugo.io/u/Jura)\
**Post date:** [May 23, 2018, 4:29pm UTC](https://discourse.gohugo.io/t/override-section-url/6197/17 "2018-05-23T16:29:52Z")

</div>

> [@vassudanagunta](#):
>
> [Hugo v0.33 release notes](https://github.com/gohugoio/hugo/releases/tag/v0.33):
> 
> > Hugo now respects the url value in front matter for all page types, including sections. Also, you can now configure uglyURLs per section.
> 
> Won’t this do the trick?

Wow good catch, that does the trick! Thank you! 🙂 I tried `slug` earlier today (which didn’t work) but overlooked `url`.

* * *

For others in this thread, you’ll need to use the `url` page variable, and not `slug`. That looks like this. For example to have the `/ox-hugo/` section main page render at `/ox-hugo-org-exporter/` instead of its default URL, use a front matter like this:

```auto
+++
title = "Ox-hugo"
url = "/ox-hugo-org-exporter/"
date = "2018-05-16"
+++

```

In the `/content/ox-hugo/_index.md` file.

---

_[View the full topic](https://discourse.gohugo.io/t/override-section-url/6197)._
