• Resolved Irene

    (@arlinaite)


    I have WP Multisite with two sub sites:
    example.com redirected to example.com/es/=> this one is site 2
    example. com/en/

    I find this kind of error messages in almost every page in chrome console:
    Example:
    In this page:
    goo.gl/CPyPxU
    error message:
    /wp-content/uploads/sites/2/# Failed to load resource: the server responded with a status of 403 ()

    In this other page:
    goo.gl/fd5z8e
    error message:
    GET https://surdelsur.com/wp-content/uploads/sites/2/ 403 () analytics.js:45

    Is this a wp multisite error? how to fix it?

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joseph Dickson

    (@josephdickson)

    I’m not able to see the error. Did you solve the problem?

    update — derp, yes i missed the “resolved” flag on the post.

    Thread Starter Irene

    (@arlinaite)

    Hi Joseph

    Thanks for your reply.
    I didn’t resolve the problem really.
    I comment the line in the htaccess file:
    #Options -Indexes
    But now I cant prevent the directory listing
    Any thoughts
    Thanks for your time

    • This reply was modified 7 years ago by Irene.
    • This reply was modified 7 years ago by Irene.
    • This reply was modified 7 years ago by Irene.
    Joseph Dickson

    (@josephdickson)

    Why did you comment out that line in the .htaccess file?

    Does your install have a index.php file in the root folder of the WordPress installation?

    Thread Starter Irene

    (@arlinaite)

    “Why did you comment out that line in the .htaccess file?”

    To stop de error, from appearing in the error log, each time a page is loaded.
    I can also create an empty file named index.html within all of my upload folders to deny people access.

    But of course, the best way to resolve this issue would be to find where on my site, it is trying to load that folder instead of a file within.

    I check the source code, but all the URL are OK.

    I think that has something to do with https://www.google-analytics.com/analytics.js. I use MonsterInsights plugin.

    Joseph Dickson

    (@josephdickson)

    Usually in this instance I’ll change the theme, reload and see if the problem reappears. Then take down all the plugins and see if the error finally disappears.

    Next I activate the theme, if the error doesn’t appear I’ll activate a single plugin and reload again. take it back down and repeat until I can narrow down the culprit.

    Adjusting your htaccess might fix it in the short term but could cause issues down the road.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error messages in almost every page in chrome console’ is closed to new replies.