Redirect homepage to another page

Hi everyone,

I am trying to use the redirect feature in the lab to redirect my homepage to another location. This is the regex I am using to match my homepage -

{
“from”: “^$”,
“to”: “Virtual Team Building Activities and Games for Remote Teams”,
“permanent”: true
}

This configuration isn’t working. My guess is that the regex I am using isn’t match the homepage correctly. Can you please give me some pointers on what I should do?

Thanks

Try just using / -

{
  "from": "/",
  "to": "https://www.brightful.me/play/",
  "permanent": false
}

I set permanent to false since you might want to make sure it does what you expect before having it cached in your browser

1 Like