I copied the wp directory into the public_html file and updated the site settings…
…the site pulls up a page that doesn’t have the styles attached…
I think that means WordPress is finding the database for content and menus but it is not finding your theme.
If I try to log into the WordPress admin, I get an error message: can’t find wp-login.
With ‘ RewriteBase /wp/
‘ and the lower line showing the same being the keys, this might fix both issues:
@ https://joycastro.com/wp/.htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php [L]
</IfModule>
# END WordPress
If not, try searching your database for *exact matches* of https://joycastro.com
and https://joycastro.com/
to see whether either might still be there without being https://joycastro.com/wp
. If so, this might take care of that:
cPanel > phpMyAdmin SQL
note: Edit ‘pref’ (the table prefix in three places below) to your own value (as in $table_prefix = '???_';
in wp-config.php), and then change ‘https://www.olddomain.com’ and ‘https://www.newdomain.com’ as required (three places each and with no trailing slashes)
UPDATE pref_options SET option_value = replace(option_value, 'https://www.olddomain.com', 'https://www.newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE pref_posts SET guid = replace(guid, 'https://www.olddomain.com', 'https://www.newdomain.com');
UPDATE pref_posts SET post_content = replace(post_content, 'https://www.olddomain.com', 'https://www.newdomain.com');
If not, you might have a theme or plugin using “absolute server path” and will need to be deactivated, uninstalled and re-installed so it can update its own path.