• Resolved baueri

    (@baueri)


    I’ve just created a multisite on my wordpress website with sub-folders.
    When editing a post for the default site (https://korinda.hu), then the tinymce editor is working fine, but when I try to edit a post for the english version (https://korinda.hu/en), then the editor tries to load scripts from /en/wp-admin etc so in console i can see several load errors and a javascript error: undefined tinymce and I cant’t edit/insert media in the editor.
    See pic below
    https://i61.tinypic.com/1z1wgia.png

    Any advice?
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter baueri

    (@baueri)

    UPDATE:
    I noticed that the wordpress tries to load files wrom /en/wp-includes that actually not exists only /wp-includes. It also creating errors on the fron end too.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s not doing that in error. The .htaccess file should be translating /wn/wp-includes for you.

    What’s in your .htaccess?

    Thread Starter baueri

    (@baueri)

    my .htaccess file contains:

    RewriteEngine On
    RewriteBase /
    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]
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    https://korinda.hu/en/wp-content/themes/korinda_en/style.css gives an nginx error.

    Are you on an nginx server and do you have a conf file for WP?

    Thread Starter baueri

    (@baueri)

    I don’t know :/
    Where the conf file has to be?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yes, you’re on an nginx server.

    You need to ask your webhost where your conf files need to go.

    Thread Starter baueri

    (@baueri)

    Thanks, I’ll contact them

    Thread Starter baueri

    (@baueri)

    I’ve contacted the server owners and they changed something on the server and now apache is used by the website. It’s now woking well.

    Thank you for your help

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Tinymce is not defined on multisite's post editor’ is closed to new replies.