Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wpe-headless] Site URL conflict #233

Closed
moonmeister opened this issue May 20, 2021 · 2 comments
Closed

[wpe-headless] Site URL conflict #233

moonmeister opened this issue May 20, 2021 · 2 comments

Comments

@moonmeister
Copy link
Member

moonmeister commented May 20, 2021

Hey All, I just ran across a "bug" and I'm not sure who needs to know so thought I'd send it to both of you. So yesterday I changed the "Site Address (URL)" to point to my atlas front end. this fixed all the "View" buttons for posts and pages. It fixes an issue in wpgraphql I talked with Jason on the other day where the nodeByUri uses the site_url.

HOWEVER, once this is changed Gutenberg is broken. For some reason Gutenberg uses the frontend url and it breaks the ability to create/update posts. There are some solutions @ WordPress/gutenberg#1761 .

image

@wjohnsto
Copy link
Contributor

This is an issue I have run into, and I believe it is why the plugin operates separately from the Site Address and overwrites View buttons on it's own.

Correct me if I'm wrong @mindctrl!

@moonmeister
Copy link
Member Author

Yup, this was already pointed out in the pr. Sorry if I over explained anything in my response there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants