Results 1 to 8 of 8

Blog url entry not redirecting to new

This is a discussion on Blog url entry not redirecting to new within the Bug Reporting forums, part of the vBSEO SEO Plugin category; I've enabled option 301 Redirect Original Content So, blog url like /entry.php?b=964 is not redirecting to new like /news/1/964-title/ All ...

  1. #1
    Junior Member
    Real Name
    Roman
    Join Date
    Nov 2008
    Posts
    4
    Liked
    0 times

    Blog url entry not redirecting to new

    I've enabled option 301 Redirect Original Content

    So, blog url like /entry.php?b=964 is not redirecting to new like /news/1/964-title/

    All forum links redirect perfectly.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    are you using default vBSEO rewrite rules in apache .htaccess or nginx configuration?

  3. #3
    Junior Member
    Real Name
    Roman
    Join Date
    Nov 2008
    Posts
    4
    Liked
    0 times
    Going to /entry.php?b=964 it stays on this URL, no redirect to new...
    member.php, showthread.php redirect.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    I see, but what are the rewrite rules you use?

  5. #5
    Junior Member
    Real Name
    dorthy
    Join Date
    Jul 2009
    Posts
    2
    Liked
    0 times
    It is usallt httpaccess error

  6. #6
    Junior Member
    Real Name
    Roman
    Join Date
    Nov 2008
    Posts
    4
    Liked
    0 times
    What rewrite rules I must use for this? I have nginx.

  7. #7
    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
    Are you using the supplied nginx rewrites (found in the htaccess folder)? These should work by default.

  8. #8
    Junior Member
    Real Name
    Roman
    Join Date
    Nov 2008
    Posts
    4
    Liked
    0 times

    Thumbs up

    Nginx rewrites included in the package is not too good.

    Now I use that and all works fine.
    Code:
    location /
    {
      rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
      try_files $uri /vbseo.php?$args;
    }
    
     location ~ /(admincp/|modcp/|cron|vbseo_sitemap|install|api\.php|login\.php|vbseo\.php)
    {
      fastcgi_index index.php;
      set $_php_script $fastcgi_script_name;
      include phpfcgi.conf;
    }
    
    location ~ /(.*\.php)$
    {
      rewrite ^(.*)$ /vbseo.php last;
    }
    location /vbseo/resources/(xml|html)
    {
      deny all;
    }

Similar Threads

  1. <H1> tag at blog entry pages
    By Mulibd in forum General Discussion
    Replies: 3
    Last Post: 01-20-2011, 01:53 PM
  2. Blog Entry Comment Redirect
    By Cor van Noorloos in forum vBSEO Features Archive
    Replies: 2
    Last Post: 07-04-2009, 06:31 AM

Posting Permissions

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