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

Small problem with the HomePage


Go to End


5 Posts   1389 Views

Avatar
Rube_25

Community Member, 36 Posts

16 September 2008 at 4:37am

Edited: 17/09/2008 1:18am

Hello everyone

I saw the tutorial 1, to achieve a "homepage" different, as I did, the problem that I am presenting is as follows:

when I go to my page
I get this:

and I want q directed to the Home

On-site admin, when I enter a home and Behanviour
Get this:

I do not understand how to solve this problem...

I hope you can help me

I'm sorry for my English is not very good

Avatar
Willr

Forum Moderator, 5523 Posts

16 September 2008 at 9:54am

It is probably because there is still a 'home' page in the Database. What you need to do is make sure theres no page in the CMS already with the URL 'home' and if there is delete it, else if there is no page in the CMS then it could still in the Database so you might need to remove it from there. This is easiest with phpMyAdmin - browse the SiteTree, SiteTree_Live and see if there is any records with the URL home

Avatar
Rube_25

Community Member, 36 Posts

16 September 2008 at 11:16am

Thanks

I went in to the database, to the table:SiteTree

Do I have to edit the URL segment? Or delete it?

And the same for the table SiteTree_Live?

Avatar
Willr

Forum Moderator, 5523 Posts

16 September 2008 at 11:48am

you can edit it or just delete those whole rows. If they aren't meant to be there just remove them

Avatar
Rube_25

Community Member, 36 Posts

16 September 2008 at 2:06pm

Thanks willr

and it solves the problem..

Rube