Powering only a subfolder with WordPress on a LAMP stack with an nginx reverse proxy

If you are still looking for a solution, your nginx configuration should look like this in order to achieve what you described… server { listen 80; server_name yourdomain.com root /path/to/yourdomain.com; index index.php index.html; location / { # directives to handle static site } location /sub { # directives to handle WordPress try_files $uri $uri/ /sub/index.php?$args; … Read more

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 … Read more

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