[wp-trac] [WordPress Trac] #17255: More statuses (like draft and/or private) for media files
WordPress Trac
noreply at wordpress.org
Tue Mar 29 15:45:15 UTC 2016
#17255: More statuses (like draft and/or private) for media files
--------------------------+-----------------------------
Reporter: jane | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by ticktockphoto):
Just seeing this is a 5 yr old post after submitting my find. For those
looking for a temporary solution, I'm using an htaccess rule, which
honestly would be frustrating to do for hundreds or thousands of password
protected posts, but does work.
Example in the case of my site and ticket
https://core.trac.wordpress.org/ticket/36370 my solution is as follows:
redirectmatch 301 ^/aiden-joseph-leto-1-month-pictures/(.*)/$ /aiden-
joseph-leto-1-month-pictures/
This allows the password protected page to be seen while child pages
redirect to the parent page. Hopefully anyone else finding this issue can
use it as a temporary fix until we have an official patch/feature added
for this.
Cheers,
Tom
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17255#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list