Question

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

Could anyone think of why this may be the case?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

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