• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved can´t use .htacces for wordpress

jmzbeki

New Pleskian
Hello,

I also have the problem .htaccess daen in Wordpress ordener.

i have the line
<IfModule mod_dtimeout.c>
<Files ~ .php> SetEnvIf Request_URI "admin-ajax.php" DynamicTimeout = 150 </ Files>
</ IfModule>

tried using the converter in plesk. Unfortunately he did not.

And that I wanted for a wordpress used in the .htacces:
#RewriteEngine On
#RewriteCond% {HTTPS} off
#RewriteRule (. *) Https: //% {HTTP_HOST}% {REQUEST_URI} [R = 301, L]
<files wp-config.php>
Order deny, allow
deny from all
</ Files>
<IfModule mod_headers.c>
Header set X-Frame-Options "sameorigin"
#Header always set Strict transport security "max-age = 31536000; includeSubDomains; preload"
</ IfModule>
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode = block"
</ IfModule>
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode = block"
</ IfModule>
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
</ IfModule>
#Force secure cookies (uncomment for HTTPS)
<IfModule mod_headers.c>
Header always edit Set-Cookie (. *) "$ 1; HTTPOnly; Secure
#Header edit Set cookie ^ (. *) $ $ 1; HttpOnly; Secure
</ IfModule>
<Files xmlrpc.php>
Order Deny, Allow
Deny from all
</ Files>
# Do not list directories
<IfModule mod_autoindex.c>
Options index
</ IfModule>
# Protect all readme.txt files from all plugins
<Files readme.txt>
Order allow, deny
Deny from all
</ Files>
# Block the include-only files.
# Do not use in Multisite without reading the note in Codex!
# See: Hardening WordPress « WordPress Codex
<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 / slow /.+ \. Php - [F, L]
RewriteRule ^ wp-includes / theme-compat / - [F, L]
</ IfModule>

then always comes the error 500, after I have inserted this into the wp folder.

Do you have an idea?
 
Back
Top