New features Please use http://kentico.uservoice.com as the primary place to submit your suggestions and allow others to vote for your ideas!
Version 4.x > New features > Friendly URLs made to act like Permanent URLs View modes: 
User avatar
Member
Member
Kristina - 9/16/2009 10:22:30 AM
   
Friendly URLs made to act like Permanent URLs
It would be nice to have the Friendly URLs work like the Permanent URLs. If the document moves( even images or anything that needs to be relinked), then it then the name changes (as a Friendly URL) so you do not have to go back and change multiple links every time you move a document.

The friendly URLs are good for SEO purposes, they are easier to remember and accessibility is great for the audience of the site. Where in comparison the Permanent URL is GREAT when it comes to documents moving around but is terrible when it comes down to simple url naming with that long number before the name of the document.

Maybe if within the cms links are permanent urls but once it is in live mode, it changes the structure to a Friendly URL.

ie:

If the page is under the root

/Solutions.aspx

but then I move it under a page called "Products" it will automatically add "/Products" before "/Solutions.aspx" and shows within the url that it has moved into a products folder:

/Products/Solutions.aspx

Thanks!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/17/2009 4:20:26 AM
   
RE:Friendly URLs made to act like Permanent URLs
Hi,

Thank you for the suggestion. I have forwarded it to our product manager.
However, it sound easy, but to implement this would be pretty complicated to cover all the possible situations of moving, copying, renaming, etc. documents and to decide whether to change the URL or not.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
Kristina - 9/17/2009 7:48:55 AM
   
RE:Friendly URLs made to act like Permanent URLs
Thanks for considering this idea. Oh I definitely understand that it is not an overnight project and that it will take time to develop, maybe something to work towards for one of the future upgrades. It would be an excellent feature!!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/21/2009 2:00:54 AM
   
RE:Friendly URLs made to act like Permanent URLs
Hi again,

It did not came to my mind earlier, but could you please try to use the Remember original URL when moving document setting? It will ensure that new document aliases will be created for the moved document, so the old links will still work. More information can be found in URL configuration at the bottom.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
Kristina - 9/21/2009 8:43:01 AM
   
RE:Friendly URLs made to act like Permanent URLs
Thanks! I tried that and it looks like it works when moving pages around!

User avatar
Member
Member
Kristina - 9/21/2009 8:52:23 AM
   
RE:Friendly URLs made to act like Permanent URLs
Kristina wrote: Thanks! I tried that and it looks like it works when moving pages around!


One thing I just noticed is that if you link a word in a paragraph with the linking tool to a page and you move the page ( the page that you linked to), it allows you to go to that page from that word but the URL stays the same and does not change. I moved the page to see if it would work under another document but it did not change the url to say that it was under that document.

I am not sure if that will cause an issue if google is crawling through the page but is unable to get to the correct url unless there is something embedded within it even if it is incorrect.

Thanks!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/22/2009 3:28:13 AM
   
RE:Friendly URLs made to act like Permanent URLs
Hi,

Yes, you are right, it is not very good for SEO and we are aware of it and in upcoming version 5.0 there will be a native support for this.

Anyway, regarding this blog post comment from our CTO Martin Hejtmanek - the very long comment, posted on 4/3/2009 2:01:02 AM):

<add key="CMSUsePermanentRedirect" value="true" /> which allows 301 redirection in places where it makes sense, instead of 302 redirection.

<add key="CMSRedirectAliasesToMainURL" value="true" /> which you can use for better SEO. It does 301 on every URL which is not main for the document (NodeAliasPath). That should help you for now.

<add key="CMSRedirectInvalidCasePages" value="true" /> which goes even further and allows you to restrict the pages only to a specific case variant. When the case is not right, it gets 301 to the right case.


So you can try to use these keys in the web.config file. I hope it will help.

Best Regards,
Juraj Ondrus