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

Scheduling doesn’t work due to caching?

wp_schedule_event is only run when your site is visited and the scheduled time has past. If varnish is serving a non expired cached page then your visitor is not hitting WordPress. Schedules a hook which will be executed by the WordPress actions core on a specific interval, specified by you. The action will trigger when … Read more

Migrating site, only header shows

The PHP Fatal Error will halt any further output, so yes this is the reason that only the header is displayed. Did you install the theme via FTP or did you install using the zip upload? I’d guess that you missed some files when uploading.