WIP: Wrong Social Sharing URL of CPT( using ACF)

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.

I use an Archive template for my postS page and a diffferent template for CPT. Both templates contain the Social Sharing element.

While the Social Sharing URLs are fine on my postS page/they contain the CPTs’s URL (e.g. https://domain.com/dev/blog/post-1/) the same is not true in case of my CPT template where the same URL is altered to https://domain.com/dev/dev/blog/post-1/
The second URL contains as seen above a duplicate folder (dev) in its structure.

Hi Lucian,
Thanks so much for your report!

We have already received a report by email that the og:url for archives is the url of the last post and not that of the archive itself. Accordingly, a task already exists.

However, the double “dev” is new. Is your installation located in a subfolder called “dev”?

Best regards,

Yes, my Wordpress installation is in a folder called “dev”