Change the second path link from last
var catSrc = $('.forum-category > a'),
forumPage = '/property-forum/',
catHref = $(catSrc).attr('href'),
urlParts = catHref.split("/"),
endUrl = urlParts[urlParts.length-1],
resultUrl = forumPage + endUrl;
$(catSrc).attr('href', resultUrl );