Separate DB by yearly archive of WordPress

I needed this for a client recently (he wanted to do the same but be able to create a archive by himself in the wordpress backend) and couldn’t find a good plugin for it. It’s pretty easy to custom code this actually. You just need to make your install a network install and then place … Read more

Installed WordPress Location

Basically yes, but you’ll have to ensure that your sub-domain’s document root set to the correct file location so that it picks up your WordPress files correctly. Then you’ll have the WordPress Site URL, which I assume would be: mydomain.com Then you have the WordPress URL, which would be your sub-domain. You’ll just need to … Read more

Subdomains with almost the same content

Yes, multisite is not what you need here. I would try to map all subdomains on the same wordpress install, and then customize the template via the current URL. In the wp-config.php you then use the current URL as base url: define(‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’]); define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’]); You can also do different themes … Read more

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