Copied to clipboard

Flag this post as spam?

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


  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Apr 20, 2011 @ 11:19
    Ali Sheikh Taheri
    0

    need help with 301 moved permanently for v 4.0.2.1

    Hi,

    I have installed the package and have added the setting in /config/404handlers.config file. but still doesnt work

    your help is much appreciated

    Thanks

    Ali

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Apr 20, 2011 @ 11:22
    Ali Sheikh Taheri
    0

    still cant edit my post on UMBRACO, what a shame its been almost a year!

    anyway regarding my post : 

    I have installed the package and have added the setting in /config/404handlers.config file. but still doesnt work and it shows 404 custom page.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Apr 20, 2011 @ 12:16
    Lee Kelleher
    0

    Hi Ali,

    Thinking that it could be the order of the <notFound> entries... could you paste the contents of your 404handlers.config, please?

    Thanks, Lee.

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Apr 20, 2011 @ 12:18
    Ali Sheikh Taheri
    0

    Hi Lee,

    Thanks for your quick reply, here is my 404handlers.config

    <?xml version="1.0" encoding="utf-8" ?>
    <NotFoundHandlers>
    <notFound assembly="umbraco" type="SearchForAlias" />
    <notFound assembly="umbraco" type="SearchForTemplate"/>
    <notFound assembly="umbraco" type="SearchForProfile"/>
    <notFound assembly="Bodenko.Umbraco.NotFoundHandlers" type="SearchFor301MovedPermanently" />
    <notFound assembly="umbraco" type="handle404"/>
    </NotFoundHandlers>

    Thanks

     

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Apr 20, 2011 @ 12:24
    Lee Kelleher
    1

    Hi Ali,

    Your config is correct... so it's something else.  Quick checklist, just to double-check if everything else is correct...

    • Make sure that your property alias is "umbraco301MovedPermanently" - this is case-sensitive
    • Check that the value you use for the old page name is in lowercase, with the leading-slash and the trailing ".aspx" has been removed.

    Failing those... append "?umbDebugShowTrace=true" to the URL (in your browser) - this will give you debug information about the NotFoundHandler path - see if there are any pointers in there?

    Let us know how you get on.

    Cheers, Lee.

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Apr 20, 2011 @ 12:32
    Ali Sheikh Taheri
    0

    Hi Lee,

    after making umbracoDebugMode to true on the web config it worked , so i think it was just the application pool.

    anyway thanks for your great package and help.

    You are legend

    Thanks a lot Lee

    Best Regards,

    Ali

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Apr 20, 2011 @ 12:40
    Lee Kelleher
    0

    Hi Ali,

    No problem, you're welcome.  Glad that its working for you now!

    Cheers, Lee.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies