• Was working on the site and everything was falling into place then suddenly everything went to crap.

    The permalinks work fine. The static resources don’t. I’ve confirmed the files do exist in the directory structure.

    I can’t access them directly if I open the url in a new window.

    But I still changed the permalinks and then back again saving them. No improvement.

    I then went into .htaccess and deleted anything there and replaced it with the default htaccess rewrite instructions:

    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    The site pages still work but all site resources still fail.

    I’ve deactivated all plugins with no improvement.

    When swapping the thee to 2019, if doesn’t even show the theme images in the preview. I activate 2019 and return to the site and nothing displays still.

    I went into each directory and removed the .htaccess files.

    This installation is a sub domain site among many all of which work fine. The primary site works fine as well. Just this installation of WordPress has gone out the door.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I can’t access them directly if I open the url in a new window.

    Then there’s an issue with the server configuration, WP isn’t even involved beyond providing the correct URL. What message comes back when you make a direct request for a static file? 403 Forbidden? If so, verify that the file permissions are correct. Usually 644 is correct, but it depends upon your server configuration. If that checks out, the issue could be with modSecurity configuration. This is something your host would need to resolve for you.

    FWIW, the link you provided comes back to me as 403 Forbidden as well.

Viewing 1 replies (of 1 total)
  • The topic ‘Page resources won’t load, but they exist.’ is closed to new replies.