Wp-content missing after moving from subdomain to root
-
I was following instructions on this page:
https://www.wpbeginner.com/beginners-guide/how-to-edit-wp-config-php-file-in-wordpress/I wanted to move the whole website from a subdomain to the root, so from shop.mydomain.com to mydomain.com.
I downloaded all files from the subdomain onto my computer, then uploaded them onto the root directory and changed the site and home url’s in the wp-config file.
I could log into wp-admin, but now all the content for the site is missing, such as the multiple plugins and my themes. I tried to do the next step in this blog where you download the “Velvet Blues Update URLs” plugin, but the second it started download it failed – I assume it is because it cannot access the folder for the plugins.
What can I do to fix this? I saw one example where you also defined the content url in the wp-config file, but I could not get that to work. One of these attempts was:
define(‘WP_CONTENT_DIR’, ‘/wp-content’);
define(‘WP_CONTENT_URL’, ‘https://mydomain.com/wp-content’);Has anyone had this same issue?
The page I need help with: [log in to see the link]
- The topic ‘Wp-content missing after moving from subdomain to root’ is closed to new replies.