• I just moved one of my WordPress sites from one server to another and the site is not loading any of my js or stylesheets. I moved the site and pointed a domain at it. The site connects to the database and resolves in the browser, but the front end of the site won’t load the stylesheets or js, and neither does the admin. The weird thing is that it loads the stylesheet for the login screen for the admin, but the rest of the admin only loads styles from colors-fresh.css. Anyone have a solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can try changing the domain name in the wordpress settings, but you will probably still have problems. Unfortunately ou can’t just move wordpress from one domain to another, it keeps references of your domain in the database. To completely migrate your site you will have to search and replace every instance of your old domain in the database.

    Thread Starter Ryan Kanner

    (@ryankanner)

    Even if I declare my new url in wp-config? with:

    define('WP_HOME','https://hbjournal.org');
    define('WP_SITEURL','https://hbjournal.org');

    Thread Starter Ryan Kanner

    (@ryankanner)

    You were right! did a search and replace, and that worked! Thanks!

    Awesome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Moved site won't load external files’ is closed to new replies.