The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
Have really been enjoying Frontity, have followed your video on custom post types (vintage vinyl) but when I get to the catalogue page, the links that are generated are absolute paths and my frontity site redirects to the address of the wordpress build.
I got round this by adding …
$link = wp_make_link_relative(get_permalink());
into the wordpress function but now that is sorted, even though the links show correct in frontity, they all go to 404 error pages.
You can see the problem in your demo if you view the catalogue tab in sandbox. Any guidance you can offer would be much appreciated.
Leon.
phn2
Hi Leon, am I correct you just want to change some URLs from absolute to relative?
If yes - you could use an custom processor in your app and manipulate them there.
Hey @phn, thanks for your help. I have changed the urls from within wordpress and that is working fine, the problem arises when I visit the page in frontity, even with the relative paths the links do not work.
I will try and put together my own sandbox to better explain!
Leon.
phn4
How old is your repository?
I have seen that on link with query parameters there’s sometimes a few issues, as you are using it, if I am not mistaken, but there’s been a fixed a week ago: Handling urls with question marks.