• Resolved er66

    (@er66)


    First of all Happy New Year and thank you for this plugin!

    I’m trying to use it to make sure that all media assocaited with a particular type of posts are stored in the same directory in order to restrict the access to this folder so only selected users/roles may have access to the files.

    The template I′m using is “/%post_type%/%post_id%”.
    When I′m testing it with some posts in the settings page it seems to work fine, however:

    a) The directory is not created.
    b) All added media ends up in the standard /wp-content/uploads folder

    At the moment I am trying the plugin on a development PC runing on WAMP, and I’m wonder if this is part of the problem.
    When doing a test for a post the resulting path is “C:\wamp64\www\XXX/wp-content/uploads/page/15” (I’ve replaced the name of the site with XXX), but the interesting part is the mixture of slashes and backslashes.
    Is this correct?

    Thanks in advance for your suggestions.

    Best reagrds:

    Eric

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Directory is not created’ is closed to new replies.