User accidentally deleted home page

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/5/2012 10:01:28 AM
Gravatar
Total Posts 130

User accidentally deleted home page

Hello,

I have a user who accidentally deleted the home page of one of my mojo sites. I recreated a "Home" page, and the application appears to be recognizing it as the default.aspx page, however there are some other oddities still happening.  When the original home page got deleted, the next root level page was associated as the home page. Now, even though I have a new Home page, the second root page is still somehow being recognized in some ways as the home page, and the link for "Home" is the second root level page instead. The has also affected all the child pages that were associated with the original home page and no longer are.

I've gone into the advanced tools to make sure that there are no mappings and 301's in place that could be causing the problem, so there must be some other setting in the database.  Does anyone have any ideas before I start going to db tables trying to track this down???

Thank you!

~ Beth

3/5/2012 10:47:42 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: User accidentally deleted home page

Hi Beth. If you go into Administration, Add/Edit Pages, and move your new page to the top of the list, it will make it the site home page. 

3/5/2012 11:53:30 AM
Gravatar
Total Posts 130

Re: User accidentally deleted home page

I did that when I first created the page. When I look at Add/Edit Pages it shows "Home" as the first root level page. If I load the site the proper home page loads, but the "Home" on the navigation still links to the secondary root page that is not Home.  The 'real' home page that i created doesn't even show up on the navigation bar at, despite the fact that it is set to in Page Settings.  I've checked the 301 manager and the rewrites in Advanced Tools and there is nothing indicating a mapping or redirect in place.  This must be something in the database that still has the secondary page set as the new 'home' once the original home page had been deleted :-/

~ B

3/5/2012 12:05:47 PM
Gravatar
Total Posts 18439

Re: User accidentally deleted home page

Hi Beth,

I would try again in the Add/Edit pages to move the page down and then back up again a few times, ie move the one that is not supposed to be the home page down and move the one that is supposed to be down and then back up to the top. The only thing that makes a home page the home page is that it is a root level page (ie with no parent) and it has the lowest sort order of all the root level pages.

I would also go into the page settings of the pages that were child pages of the deleted home page and make them child pages of the new one. When the old home page was deleted that kind of orphaned the child pages to become root level pages so they have a sort order that may conflict with other root level pages because their sort order was created based on their old position below the old home page, by moving them back where they belong it may help.

Hope that helps,

Joe

3/5/2012 1:45:17 PM
Gravatar
Total Posts 130

Re: User accidentally deleted home page

I ended up having to make all the other root pages children of "home" to finally get the app to recognize my new home page as the true top level home.  Yuck!  Hopefully no one decides to accidentally delete a home page again :-P

Thanks for the advice.

~ Beth

3/6/2012 6:36:58 AM
Gravatar
Total Posts 18439

Re: User accidentally deleted home page

Hi Beth,

That is strange. I've not been able to reproduce the problem. If I delete the home page and create a new one I have no problem moving the new one into the home position from Add/Edit Pages aka PageTree.aspx.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.