Sitecore Best Practices: Link Management

The Sitecore Best Practice Blogs (http://www.sitecore.net/en/Community/Best-Practice-Blogs.aspx) obsolete this blog post.

This (short) post about link management is one in a series of blog posts listing Sitecore Best Practices. Not all of these are specific to Sitecore, and in no specific order:

  • To generate URLs consistently, set the languageEmbedding attribute of the link provider in web.config to “always” or “never” (neither is the default).
  • Avoid query string parameters in URLs. Set the languageLocation attribute of the link provider to filePath (the default).
  • If you set the addAspxExtension attribute of the link provider attribute to false, depending on your platform, you may need to take steps to ensure that ASP.NET processes requests that do not include the .aspx extension. For more information about removing the .aspx extension, see the guide to configuring Dynamic Links.
  • Remember that moving, renaming, and deleting content items changes or removes the corresponding URL.
  • To avoid search engines indexing two URLs containing the same content, if an item has an alias, use it whenever you generate a link to that item.

Related resources:

Next in the Sitecore Best Practices blog series: Security.

This entry was posted in Obsolete. Bookmark the permalink.

1 Response to Sitecore Best Practices: Link Management

  1. Aren says:

    "Avoid query string parameters in URLs." Why? And what does that have to do with "Set the languageLocation attribute of the link provider to filePath (the default)."?

Leave a comment