Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • SinkyPars 132 posts 175 karma points
    Aug 26, 2011 @ 18:30
    SinkyPars
    0

    uComponenta 301 Moved Permanently

     

    Hello guys,
    I am having real trouble with this. I have added a text a property called umbraco301MovedPermanently to my master document type as a textstring.
    Every page in my site has this property.
    Here is my 404handlers.config
    <NotFoundHandlers>
      <notFound assembly="umbraco" type="SearchForAlias" />
      <notFound assembly="umbraco" type="SearchForTemplate" />
      <notFound assembly="umbraco" type="SearchForProfile" />
      <notFound assembly="uComponents.Core" type="NotFoundHandlers.SearchFor301MovedPermanently" />
      <notFound assembly="uComponents.Core" type="NotFoundHandlers.MultiSitePageNotFoundHandler" /> 
      <notFound assembly="umbraco" type="handle404" />
    </NotFoundHandlers>
    When I delete /testpage1 in /testpage2 umbraco301MovedPermanently textbox I enter /testpage1.
    When I then search for search for /testpage1 I get my 404 page.
    When I debug I get the following.
    notFoundHandler    Trying NotFoundHandler 'umbraco.SearchForAlias'...   
    urlAlias    'about-steak/current-vacancies'
    notFoundHandler    Trying NotFoundHandler 'umbraco.SearchForTemplate'...   
    umbracoRequestHandler    xpath: '/* [@urlName = "home-(uk)"]/* [@urlName = "about-steak"]'
    notFoundHandler    Trying NotFoundHandler 'umbraco.SearchForProfile'
    notFoundHandler    Trying NotFoundHandler 'uComponents.Core.NotFoundHandlers.SearchFor301MovedPermanently'...
    umbraco301MovedPermanently    'about-steak/current-vacancies'
    notFoundHandler    Trying NotFoundHandler 'uComponents.Core.NotFoundHandlers.MultiSitePageNotFoundHandler'...
    notFoundHandler    NotFoundHandler 'uComponents.Core.NotFoundHandlers.MultiSitePageNotFoundHandler found node matching about-steak/current-vacancies with id: 2161
    Any help would be much appreciated.
    Thanks
    Scott

Please Sign in or register to post replies

Write your reply to:

Draft