• Resolved darrencon

    (@darrencon)


    What changes do I need to make to get the permalinks working on my staging site? Some of the plugins like buddypress require permalinks.

    I am willing to purchase the plugin if the permalinks work on staging and live at the same time.

    I am using nginx

Viewing 1 replies (of 1 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Hi,

    if you create successfully a staging site you will get a short explanation and a link to a post which explains how to change the nginx.conf to allow permalinks on a site in the subfolder of the main site. Basically you just create a new nginx block and use the path of the staging site for the rewrite rule like this:

    location /stagingsite/ {
        index index.php;
        try_files $uri $uri/ /stagingsite/index.php?$args;
    }
Viewing 1 replies (of 1 total)

The topic ‘Nginx.conf changes for permalinks’ is closed to new replies.