Admin mode breaks with subdomains in latest WP

The issue could be with setting up cookie which may happen if you have different siteurl and homeurl. To give it a try, please edit your wp-config.php file and add these two: define( ‘WP_HOME’, ‘abc.example.com/’); define( ‘WP_SITEURL’, ‘abc.example.com/’); Please replace abc.example.com with your actual subdomain. The thing to make sure is both URLs should match. … Read more

Subdomains permalinks issues

first i would read other peoples solutions in the plugin support section. next i would completely disable sef generation in settings > permalinks. last advice: do not develop on a production site, instead set up a local dev environment.

Theme switch when accessed from sub domain

WordPress supports only one theme on site. Actions like shown will cause a adverse effects. Instead, you should use WordPress Multisite, which allows to use different themes on subdomains. This is the way recommended by the WordPress team. There is solution for WooCommerce on WordPress Multisite: WooCommerce Multistore plugin: It is quite expensive ($200), but … Read more

Redirect all subdomains to root domain

The following .htaccess will only work if the subdomain is assigned in your DNS setting using either a single DNS record or a wildcard DNS record. If your DNS setting doesn’t have that record, request to your subdomain will not reach to your server. So the .htaccess will not work. If you don’t know how … Read more

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