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

XF 1.2 Issues with setting up SEO.

Discussion in 'Troubleshooting and Problems' started by Helixion, Jan 31, 2014.

  1. Helixion

    Helixion Member

    I've recently purchased and installed Xenforo, and now I'm attempting to setting up SEO support. I'm running an nginx server (version 1.4.1) on ubuntu 13.10.

    I've followed the instructions, and here is my current vhost config.

    Code:
    location /var/www/cyrodiil.net/public_html/ {
            try_files $uri $uri/ /var/www/cyrodiil.net/public_html/index.php?$uri&$args;
            index index.php index.html;
        }
    
        location /var/www/cyrodiil.net/public_html/internal_data/ {
            internal;
        }
    
        location /var/www/cyrodiil.net/public_html/library/ {
            internal;
        }
    
    a little further down

    Code:
    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        location ~ \.php$ {
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
        #    # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
        #
        #    # With php5-cgi alone:
            fastcgi_pass 127.0.0.1:9000;
        #    # With php5-fpm:
        #    fastcgi_pass unix:/var/run/php5-fpm.sock;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
            try_files $uri =404;
        }
    I have it configured properly to listen to 127.0.0.1:9000

    However while the index page loads, when I click on any of the other pages, I get a 500 error.

    Here is the last error log entry.

    2014/01/31 20:35:32 [error] 18289#0: *27 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 99.230.132.81, server: cyrodiil.net, request: "GET /forums/main-forum.2/ HTTP/1.1", host: "cyrodiil.net", referrer: "http://cyrodiil.net/"

    any help would be appreciated, thanks!
     
    Last edited: Jan 31, 2014
  2. Mike

    Mike XenForo Developer Staff Member

  3. Helixion

    Helixion Member

    Hey thanks, problem solved. Just had to change the the paths.
     

Share This Page