Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    I think I’ve never seen this kind of issue, have you tried this plugin “WP Force Lowercase URLs“?

    Thread Starter devcri

    (@devcri)

    Hi,

    thanks for your reply. I think the problem comes from the All-in-One Event Calendar Plugin, because other plugins like e.g. WooCommerce or bbPress generate URLs with lowercase letters. And I don’t think that the “WP Force Lowercase URLs”-Plugin is the right solution, as it redirects to lowercase URLs. But in this case this URL doesn’t exist. If I replace manually “Veranstaltung” by “veranstaltung” it will redirect me to the nearest URL matching the slug. Either way I would prefer the source of the problem fixed rather than installing another Plugin to fix the shortcomings of the first ;).

    Perhaps the source of the problem is in the translation file of the All-in-One Event Calendar Plugin. Somehow the Plugin knows that /event/ should be /Veranstaltung/ in german. Do you manage the translations for slugs in the translation file? I have seen english URLs that have “/event/” in them. So the german category would be “/veranstaltung/” instead of “/Veranstaltung/”.

    You’re right, I think I found the line where it is necessary to change an uppercase letter, please go to wp-content/plugins/all-in-one-event-calendar/language/all-in-one-event-calendar-de_DE.po, line 1570, change msgstr “Veranstaltung” to msgstr “veranstaltung”. Hope this helps.

    Thread Starter devcri

    (@devcri)

    Thank you, Benjamin. This is already getting close to the solution, but now I get a 404 error instead of the event showing up.

    I edited the all-in-one-event-calendar-de_DE.po file with Poedit and generated the .mo file and uploaded both to my server. After that the URLs on the overview pages and in WordPress Admin show the URL correctly with small letters. But if I click on one of these URLs I get an 404 error. If I than change manually “veranstaltung” to “Veranstaltung” in the URL the event shows up. I already deleted caches (W3 Total Cache), than deleted all the existing events and made a completely new event. The problem persists. The event is linked correctly now, but doesn’t show up as the URL with the event stills uses the capital letter.

    I searched also the .po file if there are more relevant strings with small written “event”, but didn’t find anything obvious. Any more ideas?

    After you change a letter, try to reset the permalinks, go to Dashboard > Settings > Permalinks and select default(Plain).

    Thread Starter devcri

    (@devcri)

    Ok, that’s it. But it was enough to just visit/open Dashboard > Settings > Permalinks to reset the Permalinks. No need to select default (Plain).

    It’s working now. Thank you!

    No problem, glad I could help.

    Take care,
    Ben

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Capital Letters in Event URL’ is closed to new replies.