acf-permalink icon indicating copy to clipboard operation
acf-permalink copied to clipboard

Does not work properly in query parameter

Open sgtpenguin opened this issue 2 years ago • 1 comments
trafficstars

I am trying to set up a Post Type where the dynamic aspect of the permalink is a query parameter

reports/?type=annual&y=%postname%

where postname is going to be my year. It almost works in the preview of the link up top but still appends another postname at the end, and then the actual link still contains the string %postname%

Note the permalink up top and the link preview bottom left

Screen Shot 2023-11-15 at 3 22 34 PM

sgtpenguin avatar Nov 15 '23 22:11 sgtpenguin

Hello. Unfortunately plugin supports only part of the URI structure, not query parameters. This is because query parameters can exist in any order, while URI is structured.

athlan avatar Nov 16 '23 06:11 athlan