Copied to clipboard

Flag this post as spam?

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


This forum does not allow new topics to be created, please use the v2 forum from now on.

  • Ali Sheikh Taheri 470 posts 1647 karma points c-trib
    Apr 19, 2011 @ 16:47
    Ali Sheikh Taheri
    0

    301 URL Tracker doest not work when "umbracoUseDirectoryUrls" is ture

    Hi,

    I am using umbraco 4.7 when i change umbracoUseDirectoryUrls to true in web.config the 301 URL Tracker does not work. it adds slash (/) at the end of the address so it doest not work but when i remove the slash it works.

    Your help is much appreciated!

    Thanks

    Ali

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Apr 19, 2011 @ 17:03
    Stefan Kip
    0

    I'll take a look tomorrow :-)

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Apr 20, 2011 @ 11:50
    Stefan Kip
    0

    Sorry, but I can't reproduce this on 4.7.

    What I did:
    - Create node 'Test'
    - Rename it to 'Test1', so the url becomes /test1/
    - 301 URL Tracker created a mapping from /test/ to /test1/ and when I visit /test/, I get redirected to /test1/, which is normal behavior...

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

    hi mate,

    I think the problem is related to umbraco not your package , your package works perfeclt. sorry about my post.

    the problem is when i make "umbracoUseDirectoryUrls" to ture then all the pages get slash at the end.

    example : I have a page called test

    so test.aspx works test works too but test/ doesnt work.

    I dont know why when I look at properties of the test page Link to document has / at the end ( /test/ ) and the 301 URL Tracker save that one that's why it doest not work

    hope that makes sense

    Cheers

    Ali

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Apr 20, 2011 @ 12:07
    Stefan Kip
    1

    Please have a look inside /config/umbracoSettings.config and find '<addTrailingSlash>' setting.

    Is it set to true or false? Maybe you can toggle it and fix your problem with it?

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

    just changed the

    <addTrailingSlash>true</addTrailingSlash>

    to

    <addTrailingSlash>false</addTrailingSlash>

    Great Work! Thanks a lot mate

     

     

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Apr 20, 2011 @ 12:14
    Stefan Kip
    0

    No problem :-) Glad I could help.
    Just a note; I do have addTrailingSlash enabled and it works...

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

    so odd, if you go to /test/ would that work?

    mine doent work!!!!

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Apr 20, 2011 @ 12:18
    Stefan Kip
    0

    Yes that works for me...

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

    do you have any clue why mine doesnt work?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Apr 20, 2011 @ 12:20
    Stefan Kip
    0

    Nope sorry...

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

    np anyway thanks for your great help mate

    Ali

  • 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