> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enterspeed.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Redirects

## Umbraco Redirects

If you use the build-in Umbraco Redirect URL Management the redirects will be ingested into Enterspeed out of the box.

![Umbraco Content Structure](https://mintcdn.com/enterspeed/U-p4hKh6hit1rd09/images/docs/integrations/umbraco/umbraco-redirects.png?fit=max\&auto=format\&n=U-p4hKh6hit1rd09\&q=85\&s=650be3d59164a61f729adccc1877241f)

## Custom Redirects

If you are using a 3. party redirect plugin in your Umbraco installation you can implement your own version of the `UmbracoRedirectsService` either by implementing the `IUmbracoRedirectsService` interface or by extending the `UmbracoRedirectsService` class and overriding the \`GetRedirects\`\` method.

### Implementing interface

```csharp theme={null}
public class CustomUmbracoRedirectsService : IUmbracoRedirectsService
{
    private readonly IRedirectUrlService _redirectUrlService;
    private readonly IUmbracoUrlService _umbracoUrlService;

    public CustomUmbracoRedirectsService(IRedirectUrlService redirectUrlService, IUmbracoUrlService umbracoUrlService)
    {
        _redirectUrlService = redirectUrlService;
        _umbracoUrlService = umbracoUrlService;
    }

    public virtual string[] GetRedirects(Guid contentKey, string culture)
    {
        // My custom logic
    }
}
```

### Overriding

```csharp theme={null}
public class CustomUmbracoRedirectsService : UmbracoRedirectsService
{
    public CustomUmbracoRedirectsService(IRedirectUrlService redirectUrlService, IUmbracoUrlService umbracoUrlService)
        : base(redirectUrlService, umbracoUrlService)
    {
    }

    public override string[] GetRedirects(Guid contentKey, string culture)
    {
        var umbracoRedirects = base.GetRedirects(contentKey, culture);

        // logic for getting custom redirects

        return umbracoRedirects.Concat(customRedirects).ToArray();
    }
}
```

### Registration

See examples of how to register your custom implementations [here](https://docs.enterspeed.com/enterspeed/integrations/umbraco/service-registration.md#custom-service-registrations).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.