Changing the “View page” link
-
Hi WordPress enthusiasts!
We’re creating a headless website where WordPress is used as backend, and the frontend is made in ReactJS. Works out really well – it’s amazing how you can “twist and bend” WordPress to make it work with a ReactJS frontend.
Now, we’re in the last phase. The client is asking if we can change the “View Page” URL when you’re editing a page or post. We need this because the backend is running on “api.website.com” – and the frontend is on “website.com”.
So, if we were to use the standard link, it would redirect us to the api-website, and not the frontend. I hope this makes sense.
I’m sure there is a filter, which i have overseen.
Thanks a lot!
Best regards
Aris Kuckovic
- The topic ‘Changing the “View page” link’ is closed to new replies.