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

WordPress and NGINX – permalinks are not working with ending slash

I don’t think you need this rewrite rule to add forward slash. WordPress will make redirect for you. I’m using this code to debug redirection: function wpse_287994_debug_redirect( $url ) { echo $url; die(); } add_action( ‘wp_redirect’, ‘wpse_287994_debug_redirect’ ); When I’m trying to visit address http://example.com/lorem-ipsum (this page must exists) above script will output http://example.com/lorem-ipsum/ so … Read more

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