Content Appears when using Preview, but on live site I get a 302 redirect
I added what I thought was a fairly simple button to some content we have on our site.
eg, just a href link to "site.co.uk/site-content"
I previewed the changes, works perfectly, navigates perfectly, etc.
Once published and live, the button appears, but I get a 302 redirect instead. Same if I try to navigate directly to the links. Said links appear on live sitemaps too so the content is definitely live, just redirecting.
As far as i'm aware, we don't have rewrite rules. We have no umbracoRedirects either. Any ideas or pointers to what might cause this inconsistency?
Turns out, the client was disabling certain pages until they were ready to publish but then forgetting to undisable them. It was heavily obscure code that we inherited from them. So they essentially wrote their own hardcoded rewrite, grrr.
Weird how preview worked though, I guess it just shows as is without redirects?
Thanks for the tips though, hope it might help someone.
Content Appears when using Preview, but on live site I get a 302 redirect
I added what I thought was a fairly simple button to some content we have on our site.
eg, just a href link to "site.co.uk/site-content"
I previewed the changes, works perfectly, navigates perfectly, etc.
Once published and live, the button appears, but I get a 302 redirect instead. Same if I try to navigate directly to the links. Said links appear on live sitemaps too so the content is definitely live, just redirecting.
As far as i'm aware, we don't have rewrite rules. We have no umbracoRedirects either. Any ideas or pointers to what might cause this inconsistency?
Try pasting the URL you are trying to hit into here: http://www.redirect-checker.org/
Hopefully it should outline what exactly your redirect is doing. A couple of ideas off the top of my head:
I had tried that but didn't help much.
Turns out, the client was disabling certain pages until they were ready to publish but then forgetting to undisable them. It was heavily obscure code that we inherited from them. So they essentially wrote their own hardcoded rewrite, grrr.
Weird how preview worked though, I guess it just shows as is without redirects?
Thanks for the tips though, hope it might help someone.
is working on a reply...