
Wp-includes .htaccess problem
Well, everything checked out fine except for the wp-includes files. When I go to mywebsiteurl/wp-includes/, lo and behold, there are all the files listed for any one to see. What am I missing? I have used the exact same code for my other sites, and I have never had this problem before. Below is the code I have in the .htaccess file (outside the Wordpress tags):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>
Edit: I am not using any plugins that write to the .htaccess, it is all manually added except for the part that WP writes re the permalinks.
-
Zenoth -
Thanks - 1 reply
{{ DiscussionBoard.errors[9910397].message }}-
sprucehill -
Thanks - 1 reply
{{ DiscussionBoard.errors[9911057].message }}-
Zenoth -
Thanks
{{ DiscussionBoard.errors[9911438].message }} -
-
-
-
nimonogi -
[ 2 ] Thanks - 1 reply
{{ DiscussionBoard.errors[9919825].message }}-
sprucehill -
Thanks
{{ DiscussionBoard.errors[9923783].message }} -
-