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?
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:
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
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.
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 ...
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...
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:
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
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...
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 ..
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?
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.
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...
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.
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?
Jinesh
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:
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
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!
but while uninstall i will have to also delete all the document types rt ...?
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
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...
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
I too am anxious to get this setup on 4.7.2
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:
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
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...
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 ..
I installed it on my 4.7.2 site and it worked like a charm with no issues. Thanks!
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
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
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.
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
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)."?
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
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?
is working on a reply...
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.