1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 For friendly URLs on Nginx

Discussion in 'Installation, Upgrade, and Import Support' started by PhoGro, Mar 10, 2016.

  1. PhoGro

    PhoGro New Member

    Just want to make sure I have this right - when you say that all the xf paths must be related to my install. if I have my install at root/community/

    Do I change /xf/ with /community/ everywhere it occurs?

    location /xf/ {
        try_files $uri $uri/ /xf/index.php?$uri&$args;
        index index.php index.html;
    location /xf/internal_data/ {
    location /xf/library/ {
    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include         fastcgi_params;
  2. rainmotorsports

    rainmotorsports Well-Known Member

    Correct. If you actually have it in the folder community and the hosts root is not also community (as in you probably have a different site or software at the root) then you need to specify like in the example except xf will be community.
    PhoGro likes this.
  3. PhoGro

    PhoGro New Member

    Right I have a wordpress install at my root and xenforo at root/community/

Share This Page