• I uploaded a PDF to Media Library entitled “Two-Handed Saints Part @ 120 bpm.”

    In WP Settings > Permalinks, “Post name” is selected for controlling URL slugs. I’m assuming this means that the slug of my uploaded file should have automatically been something like: Two-Handed-Saints-Part-@-120 bpm

    It was not. So that’s the first question: how do I get the slug to AUTOMATICALLY match the name of the file?

    Anyway, I eventually edited the slug as follows: two-handed-saints-part

    Now, my new slug correctly shows as part of the Permalink below the title of the file in Media Library > Edit Media:

    Permalink: https://courses.creativekeyboardist.com/two-handed-saints-part/

    However, when displaying the list of the files in the Media Library, the filename is shown as:

    Two-Handed Saints Part @ 120 bpm
    and right below that, which I assume should be the slug, is:
    [email protected]

    Where is “[email protected]” coming from? Is this the slug, the filename, the file title, or what? Why is it different from the Permalink? This is super-confusing. Especially when I’m trying to add a file to a post and all I see is “[email protected]” which is neither the name I gave the file, nor the slug I chose.

    P.S. This forum would be more useful if I could include screenshots.

Viewing 1 replies (of 1 total)
  • Slugs are always lowercase and no special characters (spaces are special and so are dots).

    However, when displaying the list of the files in the Media Library, the filename is shown as:

    Two-Handed Saints Part @ 120 bpm
    and right below that, which I assume should be the slug, is:
    [email protected]

    Your assumptions are a bit off. What you are seeing is not filename and slug. You are seeing original filename without extension and new filename. The slug is in the permalink, which is made from the original filename removing special characters. On the Edit Media page, the names are labeled.

    I have no idea where you got a mp3 filename from uploading a PDF file.

    You can put images here, just host them somewhere else.
    On the Edit Media page, the names are labeled.

Viewing 1 replies (of 1 total)
  • The topic ‘Media Library: permalink, slug, filename etc.’ is closed to new replies.