Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How to change http://ipkfks.ru/content/%D0%BE-%D0%BD%D0%B0%D1%81 to http://ipkfks.ru/content/о-нас ?
my sitemap http://ipkfks.ru/sitemap.xml
------------
Drupal 7.14
Pathauto 1.1
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThe links we store are given us by the Drupal core module. Do you have any i18n modules installed and enabled? This isn't a Translation component, that has to do with translating the strings of this module, and not the content or links on your site.
Comment #2
keha3912 CreditAttribution: keha3912 commentedI installed and enabled: i18n, variable, XML sitemap internationalization
applied /admin/config/search/xmlsitemap/rebuild
clean cache admin/config/development/performance
update cached files /admin/config/search/xmlsitemap
result: page not found http://ipkfks.ru/sitemap.xml
Comment #3
keha3912 CreditAttribution: keha3912 commentedI changed "english" to "russian" in admin/config/search/xml sitemap - http://ipkfks.ru/sitemap.xml return
but the Cyrillic Letters in the URL is not
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedThe links work correctly. I think the problem for you is a presentational one for the xsl. I'll try to do some research later this week to see if I can find some related material.
Comment #5
keha3912 CreditAttribution: keha3912 commentedany news?
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedSorry, no, I didn't find any time for it. Other projects kept me busy. It shouldn't bother the search engines, it is just the user representation that is bonkers. Ping me again after about 72 hours if I haven't responded.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedOk, let's try the following. In the xmlsitemap module directory is a file named xsl/xmlsitemap.xsl. In the file is a line 30 that reads
change the encoding="utf-8" to read encoding="unicode".
Will it help? I don't know but I do know the Russian character set is specified in UNICODE. I wouldn't change any other utf-8 value though, all of Drupal is UTF-8.
Comment #8
Dave ReidYou cannot have "nice" looking URLS in sitemaps. They *must* be URL-encoded for special characters. This works as designed.
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedYes, Dave, as far as the sitemap.xml file goes, it is correct. It is the presentation of the URL to the user via the xsl that needs adjusted. Let's leave it open until keha3912 has a chance to give us feed back on my suggested change. My suggested change doesn't change the output of sitemap.xml as the search engine sees it; it only changes the presentation in the browser.
Comment #10
keha3912 CreditAttribution: keha3912 commentedchange the encoding="utf-8" to read encoding="unicode" not helped :(
PS Dave Reid - I know, it's work's browser, but nothing changed ("воз и ныне там" - russian proverb)
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedHmm... Yea, that won't help. We could extend our xml stylesheet with the str:decode-uri documented at http://www.exslt.org/str/index.html and decode the display string. I'm modifying this to a feature request and changing the title to match.
Comment #12
keha3912 CreditAttribution: keha3912 commentedstr:decode-uri? - it's awesome idea! I'm subscribe for this feature.
Comment #13
adams.garfield CreditAttribution: adams.garfield commentedyea this is a great idea . Thanks a lot
Comment #14
m.schwarzenberg CreditAttribution: m.schwarzenberg commentedI don't know if the issue is fixed now with solution #12. If not - can I do it by myself? - or when it will be implemented?
Comment #15
Anonymous (not verified) CreditAttribution: Anonymous commentedRe: #14
You're welcome to provide a patch for it.