diff --git a/fp-plugins/prettyurls/plugin.prettyurls.php b/fp-plugins/prettyurls/plugin.prettyurls.php index 91de04a..14151c0 100644 --- a/fp-plugins/prettyurls/plugin.prettyurls.php +++ b/fp-plugins/prettyurls/plugin.prettyurls.php @@ -627,12 +627,17 @@ if (class_exists('AdminPanelAction')) { $txt = ' # Thanks again WP :) - + + AddType application/x-httpd-php .php .htm .html Options -Indexes RewriteEngine On RewriteBase ' . $blogroot . ' + + # Protects the .htacces file from external access, status code 403 "Forbidden" is output + RewriteRule ^\.htaccess$ - [F] + RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . ' . $blogroot . 'index.php [L] @@ -672,4 +677,4 @@ if (class_exists('AdminPanelAction')) { admin_addpanelaction('plugin', 'prettyurls', true); } -?> \ No newline at end of file +?>