I have a website which has the 4 levels of the category and each and every category is coming in the url hence the url looks like as a very long string as http://www.abcxyz.com/test-category/test-category-level-1/test-category-level-1-1/test-category-level-1-2/test-category-level-1-3.html For this reason client wants to show only the current category name not the parent