Custom permalinks not work on Nginx + Apache

It isn’t working because Nginx tries to serve the permalink as a static file. At the moment the current configuration doesn’t allow HTML files to be passed to Apache. Please remove the “html” part from the following block so that the permalinks are passed to Apache…

location ~* .(gif|jpg|jpeg|png|wmv|avi|mpg|mpeg|mp4|htm|html|js|css)$ { root /home/justflic/public_html; }

Once you remove the html, it should look like the following…

location ~* .(gif|jpg|jpeg|png|wmv|avi|mpg|mpeg|mp4|htm|js|css)$ { root /home/justflic/public_html; }

Hope this helps.

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