Home > database >  Wordpress site failes to load js and css
Wordpress site failes to load js and css

Time:06-08

I have this weird problem with my Wordpress Website. I worked on localhost and afterwards I tied to get my site online but i modified some configuration files and i don't know witch one is the fault. I am using XAMPP. The website right now is seems to not load js and css. Also on console log it gives 404 error for not fiinding the files it needs. Landing page:enter image description here

Another Page:enter image description here

CodePudding user response:

do you use gzip compression or such as it? if yes try to disable it, and make sure you have the right path

CodePudding user response:

First, check that the file permissions are correct.

Also, if you have changed anything on your .htaccess files, overwrite them with the default ones: https://github.com/WordPress/WordPress

Also it's always a good idea to go to the permalinks page (/wp-admin/options-permalink.php) to update the links of all dependencies to the new URL.

  • Related