Report this

What is the reason for this report?

Wordpress site wont show theme after migration from main domain to subdomain, also can't access wp-admin

Posted on December 23, 2019

Could anyone think of why this may be the case?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Yes, this usually happens when the Worpdress Site and Home URLs are not correct.

As you can’t access your Wordpress admin area, what you could do is add the following to your wp-config.php file:

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

Then clear the cache of your browser and try accessing your site again.

Let me know how it goes! Regards, Bobby

Ok so somehow changing those lines worked again, but now no matter what theme I choose the site just looks like a skeleton theme. i have no idea how I keep breaking things. my site is blog.aedonisbravo.com by the way.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.