1 year ago

#278893

test-img

Anders91

How to prevent Permalink %tag% / %category% from outputting slashes?

I want to replace my default Category and Tag archives with new pages that use a ?=category or ?=tag query. Native Wordpress settings allow me to change the Permalink structure for Categories and Tags: mysite.com/mypage?_sft_post_tag=%tag%

The issue is %tag% and %category% always return /tag/ and /category/, please note the slashes. Do you know how to just add the tag or category without the slashes, so it will work within my intended query? Thnx!

wordpress

wordpress-theming

permalinks

wordpress-shortcode

0 Answers

Your Answer

Accepted video resources