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.
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...
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
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
I'll take a look tomorrow :-)
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...
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
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?
just changed the
Great Work! Thanks a lot mate
No problem :-) Glad I could help.
Just a note; I do have addTrailingSlash enabled and it works...
so odd, if you go to /test/ would that work?
mine doent work!!!!
Yes that works for me...
do you have any clue why mine doesnt work?
Nope sorry...
np anyway thanks for your great help mate
Ali
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.