2 WordPress install with same database

Do not alter any table names. In both sites (just to be sure) in wp-config.php set the WP_SITEURL and WP_HOMEURL to the related domain so these constants should be http://wow7.ro on the main domain install and http://lol.wow7.ro on the subdomain install. See Codex. Note that it doesn’t work for links insrted inside post or page … 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

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