Subdomain and subdirectories together in one installation

If you want sections in a subdomain and in subdirectories, use a multi-site installation. See Create a Network and our tag .

Then you set the the blog and the shop as separate sites, and the portfolio as a custom post type or as a regular page in the main blog.

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