Website not working properly after redirect

here’s my redirect rule
[[redirects]]
from = “/faq”
to = “gomoney-faq.netlify.app
status = 200
force = true

I am redirecting users to gomoney-faq.netlify.app, from https://go-campaign.netlify.app/faq but can’t click on anything after redirecting.

I can click on this gomoney-faq.netlify.app but can’t click on this https://go-campaign.netlify.app/faq

@gbemi Shouldn’t

to = “gomoney-faq.netlify.app”

be

to = “https://gomoney-faq.netlify.app”

?

yes that is how it is in my netlify.toml file, forgot to add the prefix while typing.
[[redirects]]
from = “/faq”
to = “https://gomoney-faq.netlify.app
status = 200
force = true

@gbemi

Have you seen this:

I’m guessing that because you have a /faq page, the 200 redirect is showing the other page without changing the URL. If you change that to a 301, it will tell Netlify to show the other page even though the /faq page exists.

Yes i have, but didn’t really understand what i was reading. I changed the status to 301 and it seems to work fine, thanks alot.

One more thing though, using 301 changes the url and i would like to maintain the /faq url, is there a way to do that?

@gbemi Yes, publish the information at the /faq address and forget the redirect. :slight_smile:

1 Like