Not Loading Styles Since Using cPanel Git Version Control (WordPress)

jamesthemonkeh

Registered
Feb 9, 2023
3
0
1
United Kingdom
cPanel Access Level
Website Owner
Hello - help!

I've set up Git Version Control on my cPanel today, and it seems to be working fine, I can deploy, the website updates, all good.

I followed the guide at Guide to Git™ - Host Git Repositories on a cPanel Account | cPanel & WHM Documentation

However, it no longer uploads files from /wp-content/themes/ so all my css/js files are not loading, and show in the network tab as 404s.

If I go to the supposed css file URL, it doesn't find it - https://readingweather.co.uk/wp-content/themes/readingnew/style.css?ver=6.1.1

Yet all is fine on localhost.

I am baffled. Has anyone any idea please?

Let me know if you need any more information. If it helps, I'm using cPanel through my hosting company, version is 106.0.14.

Thanks
James
 
Last edited:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! I...personally do not speak Git, so I'm not sure how much help I'll be on this one.

If you manually check the directory, can you confirm that CSS file is not in place? That would be a good thing to check just to ensure there isn't some other odd behavior happening.
 
  • Like
Reactions: jamesthemonkeh