Support » Fixing WordPress » upload dir beyond basedir

  • Hi All,

    My webhoster is quite restrictive and separated HTML pages into a folder called ‘pages’ and all dynamic content into ‘data’. These folders are on the same level.
    I tried to set the upload dir to ../data/uploads/ but get an error when trying to upload something. The full path that is noted in the error message resembles something like this: /home/site/pages/../data/uploads

    Obviously, WP doesn’t allow me to traverse my directory structure beyond the basedir. I guess it uses a hard coded basedir, but there must be more people who need to be able to specify a path like me.

    Who can help?

  • The topic ‘upload dir beyond basedir’ is closed to new replies.