WordPress.org

Ready to get started?Download WordPress

Forums

WP editor creates bad link paths to PDF uploaded files. (3 posts)

  1. Wpnoob
    Member
    Posted 7 years ago #

    I did already make this comment in another thread - http://wordpress.org/support/topic/86288?replies=4 - but I thought this issue might be well served by a more specific thread topic regarding the PDF issue. Moderators - please feel free to delete this if I thought wrong.

    Using fresh install of WP 2.04

    My upload folder is /wp-content/uploads like it is supposed to be.

    Uploading an image file and then using "Send to Editor" and "Link to file" works just fine. GOOD :)

    Uploading a PDF file and using "Send to Editor" and "Link to file" it assigns the link /wp-admin/ instead of /wp-content/uploads . BAD :(

    Uploading DOES put the PDF file in the RIGHT place - the /wp-content/uploads folder - but it's just the link that thhe editor create to the file that gives it the WRONG PATH.

    So for example, if I upload "test.pdf" and "test.jpg" - both files go correctly into the uploads folder. But when I "Send to editor / link to file" it makes the path /wp-content/uploads/test.jpg for the JPG file, and /wp-admin/test.pdf for the PDF file.

    If anyone has a clue as to whether this is "bug" or a possible misoncfiguration on my part somehow, any advice or input is greatly appreciated, thank you.

  2. Wpnoob
    Member
    Posted 7 years ago #

    It's been a few days and I still haven't been able to figure this one out. Anyone?

  3. javan
    Member
    Posted 7 years ago #

    I'm having the same problem uploading .mov files. I kind of got it working by changing the upload path from 'wp-content/uploads' to '/wp-content/uploads', but now wordpress adds two slashes to the file path (but it still works).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags