• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

wordpress multisite text editor broke

Antrax1

Basic Pleskian
RODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
  • Plesk Onyx v17.0.17 17
  • ‪Ubuntu 16.04.2 LTS‬
  • x64
  • php-fpm servered apache
PROBLEM DESCRIPTION:
text editor and media library work fine in principal blog but on other sites of the same network don´t work text editor and media library don´t show images

I TRY TO FIX WITH
check file permissions, activate error mode wordpress a make a new clean installation, change diferent option php to php-fpm servered apache from php-fpm servered ngnix and php-fastcgi servered apache, with same results. I use this .htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress

Also I see this post:
https://talk.plesk.com/threads/pppm-5855-cant-get-www-to-wordpress-domain.341787/

can be related? i use domain whitout www.
 
Last edited:
Hi Antrax1,

first of all, pls. be aware, that your issue is related to incorrect rewrite rules and it has nothing to do with Plesk or the Plesk Wordpress Toolkit.

Pls. note, that for example your code
RewriteBase /wp/
should be
Code:
RewriteBase /wp

If you experience further issues, experiment with the rewrites, as for example:
Code:
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) wp/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wp/$2 [L]
 
Hi UFHH01,

Sorry for the delay.

I see this problem occurs when I deselect the options: Websites and domains/Configuring Apache and nginx for domain xxx / Nginx configuration: Intelligent processing of static files and Serve static files directly using nginx

text editor_2.jpg
 
Hi Antrax1,

I see this problem occurs when I deselect the options: Websites and domains/Configuring Apache and nginx for domain xxx / Nginx configuration: Intelligent processing of static files and Serve static files directly using nginx
... which leads directly to => not being a bug, than a missing "Additional nginx directives" !!! :) ( Pls. consider again to read and follow my previous suggestion. ;) )
 
I try the next options:

A) Works with Select "Intelligent processing of static files and Serve static files directly using nginx" and this .htaccess
and don´t work deselect "Intelligent processing of static files and Serve static files directly using nginx"

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>

B) Don´t works secondary sites (error 500) with select/deselect "Intelligent processing of static files and Serve static files directly using nginx" and this .htaccess

Code:
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) wp/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wp/$2 [L]

C) Don´t works secondary sites (error 500) with select/deselect "Intelligent processing of static files and Serve static files directly using nginx" and this .htaccess

Code:
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) var/www/vhosts/domain.com/httpdocs/wp/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ var/www/vhosts/domain.com/httpdocs/wp/$2 [L]
 
Last edited:
Back
Top