# Is there a built in way of doing "catch all" pages?

**URL:** <https://forum.litium.com/t/is-there-a-built-in-way-of-doing-catch-all-pages/1170>\
**Category:** Questions\
**Created:** [October 24, 2019, 3:25pm UTC](https://forum.litium.com/t/is-there-a-built-in-way-of-doing-catch-all-pages/1170 "2019-10-24T15:25:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [October 26, 2019, 9:14am UTC](https://forum.litium.com/t/is-there-a-built-in-way-of-doing-catch-all-pages/1170/3 "2019-10-26T09:14:37Z")

</div>

In Litium 6 it was a feature that was build to dynamic creating the brands pages in accelerator from all the brands that was existing in products, this feature is removed in Litium 7.

You can try the following where you change `MyPageTypeName` to the name of the page type that you want the catch-all on.

```auto
using System.Collections.Generic;
using Litium.Foundation.Modules.CMS.Pages;
using Litium.Foundation.Modules.CMS.Plugins.Routing;
using Litium.Foundation.Modules.CMS.Routing;
using Litium.Owin.InversionOfControl;

namespace Litium.Accelerator
{
    [Plugin("MyPageTypeName")]
    public class PageTypeCatchAll : INamedHandlerRouteResolver
    {
        public bool TryGetHandlerData(PageRequestData pageRequestData, Page page, List<string> segments)
        {
            return true;
        }
    }
}

```

---

_[View the full topic](https://forum.litium.com/t/is-there-a-built-in-way-of-doing-catch-all-pages/1170)._
