Installed in root, want second in subdirectory

It can be done, I did it here for example: http://krimsonkloverdev.malbert.me/ – dev site with seperate wordpress install http://www.malbert.me/ – main site on root level. I set everything up at my host, I’d recommend you just contact them first and be sure you can have separate database installs as that’s basically all you need.

htaccess mod_rewrite not working

With some help (also asked on SO, as this wasn’t a strict WP question), and some testing, the following ended up working for me (added a slash just before the $ sign): RewriteRule ^galleries/(.*)/$ /portfolio/$1 [R=301,NC,L] As the galleries are actual directories, not files, they have a slash at the end: http://subdomain.example.com/galleries/headshots/ Here —^

How do I get WP site to show in both root and sub-directory

Installing WordPress inside a sub-directory is kind of problematic. Yes, you could modify your .htaccess in order to show your WordPress site on both the root folder and the sub-directory. However, most likely you will run intro troubles later on. Best suggestion is to move your WordPress installation to the root folder.

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