• Hi, I have not had the Visual Editor icons for a few months, I have reinstalled, disabled plugins, tried CKEditor etc. etc. Pretty much all the usual fixes. However I wondered if it could be the Rewrite rule I use for a multisite causing the issues, however I am not experienced enough to know how to edit it.

    RewriteEngine On
    Options +FollowSymlinks
    RewriteCond %{HTTP_HOST} mysite1.org$
    RewriteCond %{REQUEST_URI} !wordpress/
    RewriteRule ^(.*)$ wordpress/$1
    RewriteCond %{HTTP_HOST} mysite2.net$
    RewriteCond %{REQUEST_URI} !mysite2/
    RewriteRule ^(.*)$ mysite2/$1
    ErrorDocument 403 /missing.html
    ErrorDocument 404 /missing.html
    ErrorDocument 504 /missing.html
    # BEGIN WordPress

    # END WordPress

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    To rule out any theme/plugin conflict, have you tried:

    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems.
    – switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    Thread Starter ogi71

    (@ogi71)

    Thanks, yes tried all those.

    Moderator t-p

    (@t-p)

    – Your browser can help you identify JavaScript issues or conflicts. Do you have any Javascript errors in the console when looking at the editor page?
    – This article can assist you in doing that diagnosis.
    – If you use any caching systems, like Cloudflare, clear those caches.
    – Check that the file permissions of all the PHP files are set correct (i.e., 644).
    – Specifically check files like /wp-includes/js/tinymce/wp-tinymce.php and such.
    – If the permissions are incorrect, then some servers running security code like suhosin won’t allow those files to run.

    Thread Starter ogi71

    (@ogi71)

    Now we are getting somewhere, I am getting this error:

    Failed to load resource: the server responded with a status of 404 (Not Found)

    Failed to load: http://www.mysite.org/wp-includes/js/tinymce/plugins/wordpress/plugin.min.js

    The permissions look fine on this file, could the Rewrite rules be confusing something?

    Moderator t-p

    (@t-p)

    The permissions look fine on this file, could the Rewrite rules be confusing something?

    – to find out for sure, try removing that snippet for a moment.

    – also make sure tinymce plugin is up to date. And that no files are missing.

    – you may also try re-uploading that plugin in case any file is corrupted/incomplete.

    Thread Starter ogi71

    (@ogi71)

    Yes that’s the problem, what do I change in .htaccess?

    I’ve already manually unzipped and reinstalled WordPress therefore the files should be fine.

    Moderator t-p

    (@t-p)

    Yes that’s the problem

    Good! That narrows down the cause of the problem.

    what do I change in .htaccess

    Again to be sure, I suggest removing one line of the snippet at a time
    and testing.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Visual Editor & RewriteCond’ is closed to new replies.