Home Forums General Issues File Upload to a custom Directory


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,

  • 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:

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

The topic ‘File Upload to a custom Directory’ is closed to new replies.