491 Posts in 152 Topics by 242 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1306 Views |
-
Page View bad redirect only for home page

6 June 2010 at 4:53am
I've read a number of posts, but I haven't been able to find one exactly like this. Whenever I try to view my home page, I get a Page Not Found error. The Page View: Draft Site and Published Site both try to view my homepage as "index.php/?stage=Live", which doesn't work. "index.php/home?stage=Live" also doesn't work.
These do, however:
/index.php?stage=Live
/?stage=LiveThis only seems to be the problem when my homepage is named "home". If I change the name to "home2", everything works fine, and the page view directs to "index.php/home2/?stage=Live" just fine. If I change the name to "home", however, I get the same problem. I've tried with a fresh version of SilverStripe, a new SQL database, flushing my SilverStripe installation, flushing cookies, and just in case, I tried it in three different browsers. I also tried setting this page to be the 'home page' of its installation directory. (It would be nice if SilverStripe provided examples for how these should be formatted: whether to include the "http://", "www", and so on.)
It seems like it should be an easy fix, but I don't know my way around php very well. Can someone point me in the right direction?
-
Re: Page View bad redirect only for home page

28 October 2010 at 1:59am
I have the same problem on the live site but not on my localhost. The live site does not seem to have url-rewriting enabled. maybe it is unrelated.
-
Re: Page View bad redirect only for home page

28 October 2010 at 2:31am
Doesn't sound too healthy - sounds like a mod_rewrite not enabled issue or you have some 'junk' in your Sitetree check you default home page exists in the Sitetree with the urlsegement 'home'
| 1306 Views | ||
|
Page:
1
|
Go to Top |


