Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,007
- How-to & Troubleshooting
- 129,573
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,793
- Showcase
- 3,316
- Ideas
- 1,387
- Miscellaneous
- 9,169
-
I just found another solution which seems to be a better solution than just removing this rule. I’m sure it’s in there for a reason…
I change this block:
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
to:
RewriteCond %{ENV:REDIRECT_STATUS} !^$ [OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
Adding the top line, did the trick and presented a 404 error page (from Apache).
Cheers!