Results 1 to 2 of 2

Problem Trying to add vbseo nginx rules

This is a discussion on Problem Trying to add vbseo nginx rules within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello can someone help me how to add vbseo rules in nginx configuration file ? this is the code for ...

  1. #1
    Junior Member
    Real Name
    unknown
    Join Date
    Jul 2008
    Posts
    13
    Liked
    0 times

    Angry Problem Trying to add vbseo nginx rules

    Hello

    can someone help me how to add vbseo rules in nginx configuration file ? this is the code for the site on nginx

    Code:
       server {
      access_log off;
    
      error_log  logs/vhost-error_log warn;
      listen    80;
      server_name  vb.sitename.com www.vb.sitename.com;
    
      # uncomment location below to make nginx serve static files instead of Apache
      # NOTE this will cause issues with bandwidth accounting as files wont be logged
      location ~* \.(gif|jpg|jpeg|png|wmv|avi|mpg|mpeg|mp4|js|css)$ {
      root   /home/sitename/public_html/vb;
      }
    
      location / {
       client_max_body_size    10m;
       client_body_buffer_size 128k;
    
       proxy_send_timeout   90;
       proxy_read_timeout   90;
    
       proxy_buffer_size    4k;
       # you can increase proxy_buffers here to suppress "an upstream response
       #  is buffered to a temporary file" warning
       proxy_buffers     16 32k;
       proxy_busy_buffers_size 64k;
       proxy_temp_file_write_size 64k;
    
       proxy_connect_timeout 30s;
    
       proxy_redirect  http://www.vb.sitename.com:81   http://www.vb.sitename.com;
       proxy_redirect  http://vb.sitename.com:81   http://vb.sitename.com;
    
       proxy_pass   http://10.0.0.1:81/;
    
       proxy_set_header   Host   $host;
       proxy_set_header   X-Real-IP  $remote_addr;
       proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
      }
     }
    the vbulletin on /vb directory i open it http://vb.sitename.com

    i try to add the following code

    Code:
    location /vb/ {
    
    rewrite ^/vb/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vb/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
    
    if ($request_filename ~ "\.php$" ) {
    rewrite ^/vb/(.*)$ /vb/vbseo.php last;
    }
    
    if (!-e $request_filename) {
    rewrite ^/vb/(.*)$ /vb/vbseo.php last;
    }
    
    }
    ABOVE

    Code:
    location / {
    but still not working at all , i trying to made the arabic url working on but i got on arabic URLS

    The page isn't redirecting properly

    i hope someone will help me regard this issuethanks

  2. #2
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello,

    Currently your user name doesn't seem to be a licensed account. If you purchased vBSEO and you haven't get your download, please open a support ticket with your forum URL and your transaction ID, so we can assign your license to your account.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


Similar Threads

  1. rewrite rules on nginx in sub folder
    By bradleyw in forum General Discussion
    Replies: 20
    Last Post: 09-18-2010, 03:18 AM
  2. Nginx rules don't redirect old showthread.php URLs
    By Inettive in forum General Discussion
    Replies: 4
    Last Post: 01-10-2010, 03:19 AM
  3. nginx + vBSEO rewrite problem
    By BeoR in forum Troubleshooting
    Replies: 31
    Last Post: 01-15-2009, 03:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •