skip to Main Content

I moved my WordPress site from Root directory to Subdirectory; the dashboard is working normally but the front css is not working correctly, the navigation menu doesn’t show at all and the rest is shown in plain html format.

I have changed the urls through permalinks and from cpanel (including removing the old .htaccess file and creating a new one) as well hoping this would solve the front appearance problem but sadly it didn’t.

I’ll appreciate if you help me solve this and make the site appear normal again.

2

Answers


  1. I’m mostly sure that you never changed the url of the tag that is calling your css, before you made the directory move, it might be something like "your-website.com/css/style.css", but after that, you need to modify it to be like "website.com/subdirectory/css/style.css" or instead of using absolute paths, you can do de same with relative paths, like "./css/style.css"

    Login or Signup to reply.
  2. Change the src in the link tag where you linked the css to the html.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search