Wednesday, December 15, 2021

Sitecore Eliminate Bucket Folder Item Names from Page Item URLs

 Hi Folkes,

Recently we have requirement where we have to remove the unnecessary folder created in bucket items while accessing underneath bucketable items, so I just search for that and I found few blogs very useful here mentioned below:

https://sitecorejunkie.com/2016/05/31/omit-sitecore-bucket-folder-item-names-from-page-item-urls/

http://www.debugthecode.com/p/blog-page_15.html

I personally follow below blog:

http://www.debugthecode.com/p/blog-page_15.html

But I found one challenge Above article using LinkProvider which is obsolete in Sitecore 10 so I decided to search more what we can use instead of LinkProvider and I found below article useful where explained how can we use ItemUrlBuilder in place of LinkProvider:

https://www.konabos.com/blog/sitecore-linkprovider-is-now-obsolete

You can follow this below repo to implement the solution which support Sitecore 10 new ItemUrlBuilder instead link provider for remove the unnecessary folder from page item URL for bucketed items.

https://github.com/gaurarun777/Sitecore-Bucket-Folder-Item-Names-from-Page-Item-URL

I hope you enjoy this Sitecore blog. Stay tuned for more Sitecore related articles.

Till that happy Sitecoring :)


Please leave your comments or share this article if it’s useful for you.

No comments:

Post a Comment