Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Home Page Redirect Flashes Up before displaying page?


Go to End


2 Posts   1720 Views

Avatar
rach99

Community Member, 3 Posts

21 August 2008 at 1:35pm

I have been working through the tutorial.

When I click on the tab to go to the home page it flashes up redirecting to.... then brings up the home page. Is this suppose to do this? Or should it smoothly go to the home page without a redirect link flashing up?

I have created the seperate home page from all the other pages.

Thanks

Rachael

Avatar
Matt Hardwick

Community Member, 61 Posts

21 August 2008 at 11:22pm

Have you added any of your own code, methods, functions, includes etc?

Whitespace in these causes what looks like a redirect to happen, it also messes up header information on some pages.

If you can, when you see the (guessing it's a white page with one or two lines of text on) page - hit the escape button so the browser doesn't have chance to redirect it.

It then should tell you the .php file and the line where the white space is. You can then edit the whitespace out, and your problem should go away.

(This is what it was for me anyway).

Hope that helps.
Matt.