Support

Account

Home Forums General Issues File Upload to a custom Directory

Helping

File Upload to a custom Directory

  • Hi,

    We’re using ACF to manage a backend ordering system. However we want to make sure that google does not index any documents that are uploaded. Rather than blocking all access to the /uploads/ directory in the robots.txt file. I was wondering if it were possible to force ACF to upload into it’s own directory? /uploads/acf/ for example?

    Many thanks,
    Ashley

  • In this answer from the WP StackExchange you can find some php code that will let you organize the uploads folder by post_name, post_author, post_id or media type. Very useful: https://wordpress.stackexchange.com/a/53895

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.