Home page Not Found!!!

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.
6/29/2011 3:32:35 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Home page Not Found!!!

Hi,

I was just making some minor adjustments to my web site and it has now lost the Home Page?

The changes I made were on the Administration | Add/Edit Pages | Home | Edit Page Settings | Settings

I changed the Page Name from Home to YachtLog Home & Page Title Override to YachtLog.

​I also changed the Meta Settings KeyWords & Page Description

​Now when I run the site I get the following message when it opens at the Home Page... "We're sorry but we could not find the page you are looking for. Please try the Site Map" and the Search box contains... "yacht log home".

When I go to the site map there is a Home page listed but when I click on it I am back to the same message as above.

How could I have screwed this up?

Log File content...

2011-06-29 16:34:43,187 ERROR mojoPortal.Web.PageNotFoundHttpModule - 75.83.84.81 - Referrer(http://www.yachtlogsoftware.com/Admin/ServerLog.aspx)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/yachtlog-home.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

6/29/2011 3:38:38 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: Home page Not Found!!!

SOLUTION

After renaming the 'Home' page a couple of times the name 'Home' stuck and now the page is back.  The error log show it was stuck with the name "yachtlog-home.aspx".

Not sure if this is the best method of resolving the error but it does work!

6/30/2011 8:52:40 AM
Gravatar
Total Posts 18439

Re: Home page Not Found!!!

Hi Phil,

When you rename a page mojoPortal will autosuggest a new url based on the page name, so if you change the page name but want to keep the original url you would need to restore the original url after it suggests a new one.

Also if the url does change then mojoPortal will try to help you with SEO by creating a 301 permanent redirect from the old url to the new one. But if you're naming things back and forth it can't really do it because then it would cause an infinite redirect loop where the old url and the once new url are redirecting to each other.

In any case where you have url problems, you should check the url in page settings, check if the url exists in the friendly url manager under Administration > Advanced Tools > Url Manager, and you may need to check under Administration > Advanced Tools > 301 Redirect Manager in case it created any redirects that you really do not want. Checking those 3 places should help solve just about any url problem.

Hope that helps,

Joe

6/30/2011 10:24:19 AM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: Home page Not Found!!!

Hi Joe,

Thanks for the in depth solution, that's great stuff.

I will check each of the solutions you suggest and cleen it all up.

Thanks

7/4/2011 12:48:02 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: Home page Not Found!!!

Hi Joe,

Well sorry it took so long for me to get back to you but I have been busy and out of town.  So now I have checked the Page, the Admin/Advanced Tools/URL Manager & 301 Redirect Manager.... I deleted the bad 301 entry so there are no entries pointing to the "Home Page" I have only 1 entry in the URL Manager and it points to the correct Page (home.aspx).  I then checked the actual page Admin/Add Edit pages/Selected Page (Home) and checked under the Settings Tab which also point to Home.aspx.

BUT

--------------------------------------------------------------------

From inside the web site if I click on the "Home" button I get the following...

We're sorry but we could not find the page you are looking for. Please try the Site Map
Other things to try:
Search www.yachtlogsoftware.com:yacht log home

I see that it is looking for "yacht log home"  when it should be looking for "home".

-----------------------------------------------

If I am entering the site from outside the site another URL using "www.yachtlogsoftware.com"  I get the Home page expected.

------------------------------------------------

Where should I be looking to change "yacht log home" to just "home"???

Thanks

--------------------------------------------------------------

I just found an anomaly that might help suggest a solution...

If I click on the main manue item "Home" at the bottom of the page the URL is reflected as URL: www.yachtlogsoftware.ocm/home.aspx and FAILS... if I click on the smaller top (login user/ menu) "Home" item it shows the URL: www.yachtlogsoftware.com and finds the correct page and loads it.

7/4/2011 1:28:19 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: Home page Not Found!!!

I fixed it... The solution was after a lot of comparisons etc was the page name in the Administration | Add Edit Pages | "Home" page | Edit page settings | URL:????

???? = "home.aspx" when it should be "default.aspx"

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