Hi everyone! So I’m super confused at the moment. One of my clients asked us to develop a new design for their website. They loved it and want us to deploy the entire thing on their website.
Let me just add, their website was made on Gutenberg and it was on .com whereas our website and testing environments are on .org. For a safety measure, we downloaded their website and deployed on our domain and there’s literally no CSS anywhere on the screen. In addition to that, it wouldn’t even allow us to login to the WP admin panel.
Here’s what we’re concerned about. What would happen if we deploy the website we made on their domain? Does the WordPress being on .com or .org have anything to do with this? Would we be tackling any issue like this there as well? We don’t want to deploy it just yet and then have no chance or logging back in the WordPress admin.
Thanks in advance.
[ad_2]
here is what you can do:
Open the website in the browser.
Open the broswer console and check if there is any error.
Go to the network tab and look for requests that load the CSS files.
See failing requests if any.
Do your testing under the real name of the real live website. There are many ways to do this with proxy tricks or DNS kludging.
I’ve had plenty of situations where I’ve watched devs struggle with a site on their dev site – until I had to point out that some licensed plugin or theme or embedded content wont load unless its referenced by a URL in the licensed domain
Also, check for absolute links versus relative links (always use relative. never use absolute)
You can inspect their live website and see where the css is being called from. Probably their cdn and it’s not backed up with the rest of the site.
Personally I would move to other hosting – if you’re building it, you don’t need [wp.com]) hosting, which is expensive. Just get regular hosting and switch over name-servers.