Site did work, now CSS missing and links broken
-
We have a very small site that took about two weeks to build. Client often not available for revisions. The last step was to change the DNS and two URLs in Settings>General (WordPress and Site addresses). Somehow before that process was complete I went over to check things in another browser tab, and when I came back to WP Admin, I could no longer reach the login page. Whatever I entered in the address bar would automatically switch to the second link below plus a standard “Sorry” error page cgi-sys/defaultwebpage.cgi. Alarming because I was asked to temporarily stop working on the site and complete a distracting admin task, and did not do the first backup once the site was finalized.
Neither of these work…
#1 development link
test.devservername.com/clientname.com/wp-admin/
#2 final link
clientname.com/wp-admin/
(manager doesn’t want public links)The next morning I came in and researched other ways to make sure both the internal URLs are changed. WP codex suggested FTP to change wp-config.php. While in FTP I noticed functions.php and wp-config had odd code errors. Not normal typos. At the same time I realized FileZilla was not showing the most recent version of the target site unless I kept doing F5. (so re-installed it) I realized I may have messed up a config file in the confusion over where I was or was not uploading files. So I downloaded each one and this time made sure they were kosher. Also did a full FTP backup to my hard drive, then replaced the wp-admin and wp-includes directories. Also uploaded the most recent version of my theme, and that the theme child files were OK. The wp_options table looks OK. Tried disabling plugins.
I can now get a version of the home page to load, but the CSS is missing (https://imgur.com/a/WzsXi) and none of the navigation links work. The source code doesn’t show any obvious problems. It’s like WP forgot how to load the stylesheets and provide functioning links.
*Never* had such serious problems. Especially on a simple site. Can an experienced debugger suggest a logical next step? Will discuss, then implement ideas on Monday.
The topic ‘Site did work, now CSS missing and links broken’ is closed to new replies.