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.

  • Jinesh 33 posts 52 karma points
    May 04, 2012 @ 19:09
    Jinesh
    0

    301 URL tracker doesn't work after upgrade to umbraco 4.7.2

    Hello all,

    we have been using 301 url tracker since last 6 months on umbraco 4.7.1 ..it was working properly ..but few days back we upgraded umbraco to 4.7.2 and 301 url tracker stopped working.

    version of 301 url tracker is - 1.3 

    can any one please explain what we need to correct to make it work as it was earlier in 4.7.1?

    waiting for reply...
    regards,

    Jinesh

  • Stefan Kip 1606 posts 4098 karma points c-trib
    May 07, 2012 @ 09:30
    Stefan Kip
    0

    What do you mean exactly with "stopped working"? Sounds like the upgrade you did removed 301 URL Tracker entries, for example at the bottom of the file "\umbraco\config\create\UI.xml" should state:

     

    <nodeType alias="init301URLTracker">
    <header>301 URL Tracker</header>
    <usercontrol>/create/create301URLTracker.ascx</usercontrol>
    <tasks>
    <create assembly="InfoCaster.Umbraco._301UrlTracker" type="Tasks301URLTracker" />
    </tasks>
    </nodeType>
    <nodeType alias="301URLTracker">
    <header>301 URL Tracker</header>
    <usercontrol>/create/create301URLTracker.ascx</usercontrol>
    <tasks>
    <delete assembly="InfoCaster.Umbraco._301UrlTracker" type="Tasks301URLTracker" />
    <create assembly="InfoCaster.Umbraco._301UrlTracker" type="Tasks301URLTracker" />
    </tasks>
    </nodeType>

     

  • Jinesh 33 posts 52 karma points
    May 07, 2012 @ 14:21
    Jinesh
    0

    Thanks for your reply...

     

    After upgrade i had overwritten ui.xml file with the old copy as it was said in the installation steps so i already had this entry of 301 url tracker in that file ..the only difference was that it didnt have following line after delete tag 

    <create assembly="InfoCaster.Umbraco._301UrlTracker" type="Tasks301URLTracker"/>

    that i added but no effect ....

    By the way regarding that 'stopped working' by that i meant that before upgrade it was working fine was adding old urls automatically if there are any changes to url and that 301 was working perfectly ..

    and after upgrade it doesnt create that entry in umbraco panel and also it doesnt 301 redirect to new url ...

    please guide what can we do to correct it ...waiting for reply.

     

    regards,

    Jinesh

     

  • Stefan Kip 1606 posts 4098 karma points c-trib
    May 07, 2012 @ 14:23
    Stefan Kip
    0

    Well I haven't tested it with 4.7.2, so I can't helpt you with that. You could try a re-install? If you do; back-up the infocaster301 DB table!

  • Jinesh 33 posts 52 karma points
    May 07, 2012 @ 14:24
    Jinesh
    0

    but while uninstall i will have to also delete all the document types rt ...?

     

  • Jinesh 33 posts 52 karma points
    May 25, 2012 @ 11:56
    Jinesh
    0

    Hello,

     

    As per your suggestion i tried with the fresh 4.7.2 and 301 url tracker thing ..but even that didnt work ...please help, this is really very good package since it handles all the moved or renamed pages from getting broken ...

     

    waiting for help and guidance ..

     

    regards,

    Jinesh

     

     

  • Stefan Kip 1606 posts 4098 karma points c-trib
    May 25, 2012 @ 12:01
    Stefan Kip
    0

    Well, I'd love to give it a spin on v4.7.2 to see what's going wrong, but there's loads of work to do at the moment, so I haven't got the time for now...

  • Jinesh 33 posts 52 karma points
    May 25, 2012 @ 12:03
    Jinesh
    0

    nice to hear from you ....

     

    hoping that you will soon get time to make it working for 4.7.2 as well ...

     

    thanks in advance ...

     

    regards,

    Jinesh

  • mscommunities 40 posts 93 karma points
    Jun 08, 2012 @ 06:28
    mscommunities
    0

    I too am anxious to get this setup on 4.7.2

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jun 08, 2012 @ 11:00
    Stefan Kip
    1

    Just did a clean install of umbraco 4.7.2, with a starter-kit to have some content.
    Installed the 301 URL Tracker (1.3) via the umbraco package repository and changed the name of a node (which changes the url too).

    The old url redirected nicely to the new url, so it's not a 301 URL Tracker bug. Something must went wrong when upgrading (like overwriting files).

    Please check your '/config/404handlers.config' file, it should look something like this:

    <notFound assembly="umbraco" type="SearchForAlias" />
    <notFound assembly="umbraco" type="SearchForTemplate" />
    <notFound assembly="umbraco" type="SearchForProfile" />
    <notFound assembly="InfoCaster.Umbraco._301UrlTracker" type="Handler301URLTracker" />
    <notFound assembly="umbraco" type="handle404" />
  • Jinesh 33 posts 52 karma points
    Jun 08, 2012 @ 13:03
    Jinesh
    0

    Hello Kipusoes,

     

    as per your direction i tried overwriting my 404handler file...

    i tried adding custom mapping it worked for me ,... but on changing node name it was not getting redirected to new url ..but it was showing 404 page ...

    i just noticed the difference between the custom mapping and automatic mapping ...there was a difference of trailing slash ..custom didnt have trailing slash and automatic url was having trailing slash...i went to database and removed trailing slash for one of the url and it worked .. :)

    but now can u guide how can i get it working with trailing slash in the url and even newly generated automatic urls are getting generated with trailing slash ...please guide what can i amend to make it working ...we are very near to get it working 

    waiting for reply.

     

    regards,

    Jinesh

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jun 08, 2012 @ 13:20
    Stefan Kip
    0

    The 301 URL Tracker just uses the NiceUrl property of a node, which should be compatible with the url's umbraco generates.
    So how do the urls look in the back-end? It should be with trailing-slash, because NiceUrl generates them with a traling-slash apparently...

  • Jinesh 33 posts 52 karma points
    Jun 08, 2012 @ 13:45
    Jinesh
    0

    yes they are stored with trailing slash ..and i had just removed trailing slash and it worked for me ..but that is not the actual solution but a cause for it to not work ..

    can it be due to some url rewriting rule? ...please guide ..

     

  • mscommunities 40 posts 93 karma points
    Jun 08, 2012 @ 19:56
    mscommunities
    0

    I installed it on my 4.7.2 site and it worked like a charm with no issues. Thanks!

  • Jinesh 33 posts 52 karma points
    Jun 11, 2012 @ 12:58
    Jinesh
    0

    Hello Kipusoep,

    i tried uninstalling 301 url tracker package and reinstalling, then too same thing is happening that if i remove traling slash from 301infocaster table entry and try with or without trailing slash in the browser it works fine .. but i need to remove trailing slash from the db entry of 301infocaster ...

    one more thing to notice is that url tracker has stopped working only after umbraco upgrade to 4.7.2.

    can u please guide me, what can do to make it working? 

    regards,

    Jinesh

     

  • Gerty Engrie 120 posts 470 karma points c-trib
    Aug 08, 2012 @ 10:10
    Gerty Engrie
    0

    Hello, 

    i currently solved this with a trigger on the database... :-)

    alter trigger AlterOldUrl

        on infocaster301 after insert,update as

        begin

            update infocaster301 set OldUrl = LEFT(OldURl,LEN(OldUrl) -1) where OldUrl like '%/' and IsRegex = 0

        end

    go

     

    Gerty 

     

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Aug 14, 2012 @ 10:54
    Stefan Kip
    0

    I'm really confused about what is going on...
    The 301 URL Tracker stores automatically mapped urls by using the NiceURL property as I stated before, so with the trailing slash is okay (I've checked some of my websites and they are all stored with a trailing slash).
    Also I tested before with a clean 4.7.2 installation and everything worked fine, so I can't reproduce this issue.
    Can someone install a clean 4.7.2 umbraco with the 301 URL Tracker and reproduce this issue?
    If so, please upload a zip file with all files and a backup of the database so I can reproduce the issue. 

  • Jinesh 33 posts 52 karma points
    Aug 14, 2012 @ 13:22
    Jinesh
    0

    Hello Kipusoep,

     

    we have not tried on clean 4.7.2 rather we had upgraded from 4.7.1.1 to 4.7.2 and then after it is not working .. we are still not able to judge what went wrong ..

    we just came to know that umbraco is not getting urls with trailing slash (on request).  

    i hope if this gives you some clue to help us.. we are not able to identify where the root cause is...

    please help if possible.

     

    Regards,

    Jinesh

     

     

     

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Aug 14, 2012 @ 13:25
    Stefan Kip
    0

    Hi Jinesh,

    Could you elaborate a bit more on "we just came to know that umbraco is not getting urls with trailing slash (on request)."?

  • Jinesh 33 posts 52 karma points
    Aug 14, 2012 @ 13:44
    Jinesh
    0

    Hello Kipusoep,

     

    we checked umbracoLog table for logHeader = 'NotFound'.

    logcomments column was having the urls without trailing slashes, from that we deduced that umbraco is not getting url with trailing slash even if requested url was with trailing slashe.

     

    regards,

    jinesh

     

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Sep 21, 2012 @ 11:55
    Stefan Kip
    0

    I just uploaded version 1.4 of the 301 URL Tracker. This issue should be fixed.

    Could you test this and let me know here? 

  • 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