WordPress.org

Support

Support » Plugins and Hacks » Custom Upload Dir » Is it possibile example.com/postname/image.jpg

Is it possibile example.com/postname/image.jpg

  • First of all compliments for this nice plugin!
    I have an issue i hope that u can help me 🙂

    In wp-config i added this
    define( ‘UPLOADS’, “”);

    This combined with your PLUGIN allows to create a folder in the root of the site with the name of the post where im adding the image.

    example.com–> hello-world

    hello-world folder is create where are
    wp-admin folder
    wp-content folder
    wp-include folder

    And this is what i wanted so every image is like a child of its post

    exapmle.com/post-name/image.jpg
    example.com/post-name/image2.jpg

    Now, when click on the image info to understand where is located my image it return this URL
    http://example.com//hello-world/image-name.jpg

    why are there 2 // ?

    (I’m working in local so in my case is http://localhost/example//hello-world/image-name.jpg)

    This is a plain installation of wordpress and this plugin is the only installed ( be proud of this!!! :)))

    Thanks in advance
    http://wordpress.org/plugins/custom-upload-dir/

  • The topic ‘Is it possibile example.com/postname/image.jpg’ is closed to new replies.
Skip to toolbar