WordPress version: 3.5.1
WordPress SEO version: 18.104.22.168
wp-contentis hardened with a
.htaccessfile containing this code:
<Files *.php> deny from all </Files>
2) I want (need) to authorize
xml-sitemap-xsl.phpOtherwise I get this error in my error log:
client denied by server configuration: /home/user/mysite.net/wp-content/plugins/wordpress-seo/css/xml-sitemap-xsl.php, referer: http://mysite.net/sitemap_index.xml
3) I think I should add the following code but I’m not sure if it’s the right code nor where to place it:
<Files "xml-sitemap-xsl.php"> Allow from all </Files>
Any tip would be appreciated!
- The topic ‘Authorizing xml-sitemap-xsl.php in hardened wp-content folder’ is closed to new replies.