WordPress.org

Ready to get started?Download WordPress

Forums

Custom Upload Dir
Is it possibile example.com/postname/image.jpg (1 post)

  1. StelleDiPolvere
    Member
    Posted 8 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by StelleDiPolvere
  • This topic is not resolved
  • WordPress version: 3.6.1

Tags