Htaccess producing malformed URLs
-
Hi,
If I try to access, for example,
https://www.universitychairs.ac.uk/wp-content/uploads/bp-attachments/2160/Jisc-CUC-04-12-20-Final.pdf
then I get a 302 to
https://www.universitychairs.ac.uk/%5e/wp-content/uploads/?bp-attachment=/home/sites/2b/f/fc5e4978a6/new/wp-content/uploads/bp-attachments/2160/Jisc-CUC-04-12-20-Final.pdf
rather than the expected path.
Is this something you’ve come across before?
It’s happening for every document. I’ve checked the htaccess files and they all look OK:
# BEGIN BuddyPress Docs # The directives (lines) between "BEGIN BuddyPress Docs" and "END BuddyPress Docs" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteBase /docs/jisc-teaching-and-learning-reimagined-slides/ RewriteRule (.+) ?bp-attachment=$1 [R=302,NC] # END BuddyPress Docs
This is on WP6 with latest BuddyPress and BBPress.
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Htaccess producing malformed URLs’ is closed to new replies.