remove trailing slashes in blog/portfolio prefetch/prerender URLs