WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WordPress SEO by Yoast] WordPress didn't return a valid path to your upload directory.

[Resolved] [Plugin: WordPress SEO by Yoast] WordPress didn't return a valid path to your upload directory.

  • WordPress SEO plugin returns the error “WordPress didn’t return a valid path to your upload directory, please make sure your upload path is set correctly” on the plugin Dashboard.

    The Problem: The plugin is trying to create a sub-directory in uploads for the wpseo directory. The plugin correctly checks to see if the uploads directory is available. If not, it generates the error. If it is present it creates the wpseo directory.

    Suggested fix: The plugin should create the uploads directory, based on the default or custom value set in Media under Settings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    I have a somewhat special setting for my upload directory. I have a subdomain pointing to another server (more optimized for static content) where all my uploads goes to. My settings are:

    Store uploads in this folder: “../../../static.domain.se/public_html”
    Full URL path to files: “http://static.domain.se”

    Any suggestion how to solve this?

    brendontudor
    Member

    @brendontudor

    Hi,

    Thank you, but your ‘suggested fix’ is not a fix; you have just stated what is supposed to happen when you install the plugin. I am also getting this error and would like to know how to resolve this. What should the permissions be on the ‘uploads’ folder? I already have the ‘uploads’ folder present but I still get this error. I have tried with ‘wp-content/uploads’ in the ‘Store uploads in this folder’ field (in Settings > Media) and have also tried with this field left blank. I have also deleted and reinstalled the plugin but still get the error.

    Please advise. Thank you.

    Brendon

    Try this :
    In Settings > Media
    Uncheck “Organize my uploads into month- and year-based folders”
    Work for me.

    brendontudor
    Member

    @brendontudor

    Thank you dixonze. This has worked. I also had to change permissions on the “uploads” folder. Thanks again for your help.

    Plugin Author Joost de Valk
    Member

    @joostdevalk

    That is indeed the fix, later versions of this plugin will no longer write files for XML sitemaps, as that is just one big cesspool of issues.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] WordPress didn't return a valid path to your upload directory.’ is closed to new replies.