Hi @nguyenrom!
Glad you reached out. Can you walk me through exactly how I would reproduce that? Are you using a staging site to test, and on that staging site, it’s redirecting to the non-staging URL?
Most likely, that URL is being built from the home or site URL within the main WordPress settings, so it will take whatever is put there.
I’m more than happy to look into what might be causing it, but I’ll need a bit more context and a way to replicate that behavior before I can helpfully respond.
Thanks!
Interesting. I was able to replicate that on a test installation, and escalated it up to the development team to have a look. You can follow along with the status of the fix, here: https://feedback.givewp.com/bug-reports/p/on-a-site-that-has-a-subdirectory-as-a-part-of-its-home-url-the-viewedit-button
That site is designed to be the latest info, so I am going ot close this post here and you can follow up there.
In the meantime, you’ll need to manually add that slug back in as seen in your helpful screencast.