WordPress.org

Forums

Rename uploaded media if there's å,ä,ö in the filename (3 posts)

  1. Axelsson
    Member
    Posted 1 year ago #

    WordPress do rename space to "-", but it does not rename some chars like å, ä, ö for example. These chars can cause 404 errors and I dont see why WP doesnt just rename them to a and o.

    What's the reason for this?

  2. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    Edit: Sorry misread

  3. https://codex.wordpress.org/Function_Reference/sanitize_file_name

    That's what we use, and it doesn't block those characters because they actually ARE valid. Just not to all browsers :/

    https://wordpress.org/plugins/filenames-to-latin/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.