Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8266217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:04:44+00:00 2026-06-08T05:04:44+00:00

I used this solution to optimize urls, all works fine but there are a

  • 0

I used this solution to optimize urls, all works fine but there are a problem with danish characters (æ and ø) which sould be replaced to “a” and “o”. I used this in Web.config:

 <replace mode="on" find="æ" replaceWith="a" />
 <replace mode="on" find="ø" replaceWith="o" />

Urls looks good, but when I try to go by this link I got 404 error and if I manually change “a” to “æ” in url page opens.
Help me please!:)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T05:04:47+00:00Added an answer on June 8, 2026 at 5:04 am

    Remember that replacement is two way. Generated URLs will subsitute a for æ.
    Incoming URLs will replace a with æ when looking up items.

    As Danish uses both letters simply replacing æ with a when you generate URLs will cause you all sorts of headaches – e.g. the item at-spise-æbler (“to eat apples”) will generate the URL at-spise-abler, which will be reverse replaced during item lookup to try and find the item æt-spise-æbler.

    To be more consistent you should replace æ with ae, å with aa and ø with oe if you wish to replace Danish characters.

    If you are also using replace mode to ensure all URLs are lower-cased (e.g. <replace mode="on" find="A" replaceWith="a" /> ) then your incoming URL containing an “a” will be interpreted as containing an “A” (assuming replacement is in order of the entries in the web.config and your lowercasing matches are first – if it’s the other way round then you still have other problems!). The item at-spise-æbler will still generate a URL at-spise-abler, but your item lookup may match a to A first, trying to find At-spise-Abler, which doesn’t exist.

    The double letter substitution won’t help you here either, as Sitecore will simply match each letter to its uppercase version

    A beter solution for you would be to actually rename items (or their display names) when they are created or edited.

    This link shouldpoint you in theright direction: http://briancaos.wordpress.com/2007/05/30/sc-53-ensure-item-names/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used the mapping solution from this question to have a joined component. But
I've an ASCX control (WebParts aren't used in this solution) which interrogates CRM 4's
I used this MSDN example to construct my console host app: http://msdn.microsoft.com/en-us/library/ms731758.aspx It works
I'm pretty strong with SQL, but I can't think of good solution to this
I am trying to optimize a small, highly used function which uses the high
I need to Distinguish Between Clicks and Double-Clicks and I have used this solution
I have a SWF file used as a banner advertisement but there is a
i used this code: List<string> lists=new List<string>(apple,orange,banana,apple,mang0,orange); string names; names=lists.Distinct() is that correct?
I used this tutorial to create a basic Javascript function for implementing change during
i used this script to animate some divs with jquery and css. now i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.