We have created an item resolver to maintain Sitecore path on our way. We have inherited LinkProvider
to override GetItemUrl
method like the below:
public class LinkProvider : Sitecore.Links.LinkProvider
{
public override string GetItemUrl(Item item, UrlOptions options)
{
//Some Code Implementation
return base.GetItemUrl(item, options);
}
}
We have added our own config file with name custom_config.config in include folder but we are unable to use our own override method. I checked showconfig.aspx also, but this is showing me the OOTB LinkProvider
type Sitecore.Providers.LinkProvider
instead of the one which we have created.