Copied to clipboard

Flag this post as spam?

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


  • Eugene 17 posts 38 karma points
    Feb 24, 2011 @ 16:31
    Eugene
    0

    Change URL without changing a button name

    Hi,

    One of the buttons on my webnsite is called Services. The current URL is http://www.websitename.com/services.aspx. I want to change the URL to be http://www.websitename.com/cheap-landscaping-services.aspx. How can I do this without changing the Services button to be Cheap Landscaping Services?

    On the properties tab, there is Name field, but that changes both the button and URL name.

    Please advise.

    Thanks!

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Feb 24, 2011 @ 16:36
    Tom Fulton
    0

    Hi,

    You can add a property to your doctype called umbracoUrlName - whatever you enter here will override the default Url.  See the wiki for explanation on this and other "special" fields. http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlname

    Most typically add all these to their master document type so they are available for all pages.

    -Tom

  • Eugene 17 posts 38 karma points
    Feb 24, 2011 @ 16:47
    Eugene
    0

    Thanks, Tom. How do I add this property to my master document type? I went into "settings" and then "doctument types" but couldn't get passed that.

    Eugene

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Feb 24, 2011 @ 18:07
    Tom Fulton
    0

    Hi,

    You may not be using a Master Document Type.  Under Settings -> Document Types, do all your types show under one type, or are they all directly under Document Types?

    If the latter you will need to add the umbracoUrlName property manually to any types you wish to use it on.

    Hope this helps,
    Tom

Please Sign in or register to post replies

Write your reply to:

Draft