I need to use the_permalink() in order to construct a simple link from each post . the link should be like
I use ?output=something" >
the problem is that the trailing slash of the permalink is giving me an extar trailing slash that is breaking my link .
I know that I can construct the structure in another way , but I want to use the permalink (much easier) and i do not want to change the permalink structure sitewide ...
any way of getting rid of the trailing slash ??