Results 1 to 5 of 5

nginx web server rewrite problems (urgent)

This is a discussion on nginx web server rewrite problems (urgent) within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi We switch the nginx web server then i put the rewrite rules to nginx config file for now web ...

  1. #1
    Senior Member maxicep's Avatar
    Real Name
    Ozan A.
    Join Date
    Sep 2007
    Location
    Turkey
    Posts
    454
    Liked
    0 times

    nginx web server rewrite problems (urgent)

    Hi
    We switch the nginx web server then i put the rewrite rules to nginx config file for now web server working perfect but i see some problems ..

    Rewrite problems are;

    1. when i click the "go to first unread post" button, then page return to homepage of my website
    For example;

    Click(while logged):
    http://www.maxicep.com/maxicep-yaris...eni-mesaj.html

    page redirecting to this adress:
    http://www.maxicep.com/index.php#post1729972

    (yeni-mesaj word is means new-message)


    2. when i reply the thread in advanced mode then page redirecting to my homepage, not the thread page (last message which i sent)
    For Example;
    http://www.maxicep.com/newreply.php?...eply&p=1730496

    When i type and click the send button, my page go to
    http://www.maxicep.com/index.php#post1730498


    Looking as maybe same problem.

    Also; My nginx web server config
    (This config rewrite rules file from the latest vbseo 3.3.1 package)
    ------------------------------
    location / {

    rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

    if ($request_filename ~ "\.php$" ) {
    rewrite ^/(.*)$ /vbseo.php last;
    }

    if (!-e $request_filename) {
    rewrite ^/(.*)$ /vbseo.php last;
    }

    }
    -----------------------------

    I think, we need to add or change the line on these settings

    Thanks for help

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Hello, I have flagged this for Oleg or Mert. Unfortunately i'm not familiar with nginx.

  3. #3
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  4. #4
    Senior Member maxicep's Avatar
    Real Name
    Ozan A.
    Join Date
    Sep 2007
    Location
    Turkey
    Posts
    454
    Liked
    0 times
    Fixed ! Thanks

    P.S: You should change the rewrite config file for nginx in next vbseo version..

  5. #5
    Senior Member maxicep's Avatar
    Real Name
    Ozan A.
    Join Date
    Sep 2007
    Location
    Turkey
    Posts
    454
    Liked
    0 times
    I have one problem more.

    some Url's has problem while rewriting on popup windows.

    See some screenshots from my members

    When some members click the "Show All Smilies" Link, 404 Page not Found error.
    (For example, see below attached images)


    Look the URL .. Url has rewrited but i think right URL should be :
    http://www.maxicep.com/misc.php?do=getsmilies&editorid=vB_Editor_QR

    But it is ;
    http://www.maxicep.com/iphone-3g-destek-yardim/misc.php?do=getsmilies&editorid=vB_Editor_QR

    Thats including the main forum name to URL then so 404 not found error. It should not take the main forum name .

    How can we fix this problem ?

    Thanks !
    Attached Thumbnails Attached Thumbnails resim_605208209.jpg   screenshot004c.jpg  

Similar Threads

  1. Rewrite from Apache to nginx
    By Hiiragi in forum URL Rewrite Settings
    Replies: 0
    Last Post: 07-13-2009, 07:04 PM
  2. nginx problems
    By frankw in forum General Discussion
    Replies: 7
    Last Post: 04-07-2009, 10:03 AM
  3. Rewrite from apache to nginx
    By nfn in forum Custom Rewrite Rules
    Replies: 6
    Last Post: 01-27-2009, 08:30 AM
  4. nginx server can't open MSN,yahoo,icq windows
    By wangyu1314 in forum General Discussion
    Replies: 2
    Last Post: 01-18-2009, 11:30 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
  •