TransWikia.com

How to add custom preview urls for some pages?

WordPress Development Asked by haxpanel on November 6, 2021

I use WordPress as a headless CMS through its API.

When clicking on Preview it takes me to domain/slug. This works for most of the pages, however there are some pages that are under sub-path domain/sub-path/slug.

How to enable the Preview button to take the user to the correct url? I use ACF, could that be utilised somehow to provide optional value for ‘sub-path’?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP