Can’t access new WP install on subdirectory

From your comment I know that you are using nginx. Nginx need a bit different configuration than Apache. Probably your current nginx vhost looks like that. server { listen *:80; server_name test.dev; root /var/www/test; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; index index.php index.html; location / { # try to serve file directly, fallback to index.php try_files $uri … Read more

Restoring a WordPress site

There are two main parts to WordPress: the code, and the database. (There is also the plugin and theme parts, but I am grouping them with the ‘code’, although themes and plugins store some of their information in the database.) You can recover the code by doing a fresh install of WP, although that won’t … Read more

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