Hi,
I have a problem with redirections.
I watched that demo-video → installed plugin and added redirections to source in frontity.settings.js
packages: [
{
name: "my-theme",
},
{
name: "@frontity/wp-source",
state: {
source: {
url: process.env.CMS_URL,
// match a combination of multiple options
redirections: [
"all",
"404",
// "/test-page/",
// "/remove-page/",
// "RegExp:/test-page/",
],
homepage: "/start-page",
postTypes: [
{
type: "wp-template-part",
endpoint: "template-part",
},
],
},
},
},
Well I had a “remove-page” and then I renamed it in slug “removeD-page” so it works fine. But for another “test-page” I just added redirect to new-page and this does not work at all.
I got “200” on test-page without any redirection.
On clear “wordpress” those two pages redirect correct!
Screenshot 2021-11-01 at 16.06.15|689x142
.
What am I doing wrong?