WordPress switch domains

First of all, go to phpMyAdmin, go to your database for test.site.com and edit siteurl and/or home in wp_options table. That’ll fix your test.site.com Now, to migrate test.site.com to site.com, as you’ve difficulties doing it manually, I’d suggest a plugin like Duplicator or All-in-One WP Migration to migrate the site. It’s way easier that way. … Read more

WordPress Admin Page Redirecting to Subdomain

Add the indicated line to your .htaccess and all should be fixed RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] **RewriteCond %{http_host} ^(www\.)?YourDomain\.com$ [nc]** RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

Database problem

Your database is not cached but the HTML files are cached by w3 total cache and cloud flare. If have not backed up you database there is not much you can do to easily restore your site. They only thing you can do at this stage is grab a copy of your site from cached … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)