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?
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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users