Results 1 to 12 of 12

question with google and redirection

This is a discussion on question with google and redirection within the General Discussion forums, part of the vBSEO SEO Plugin category; http://www.google.hr/search?hl=hr&q=...pretraga&meta= when you click on some link example http://www.croportal.net/forum/t3777-humor.html its open Page not found why is that why not redirection ...

  1. #1
    Senior Member
    Real Name
    Kristijan
    Join Date
    Oct 2005
    Location
    Zagreb
    Posts
    284
    Liked
    1 times

    question with google and redirection

    http://www.google.hr/search?hl=hr&q=...pretraga&meta=

    when you click on some link example

    http://www.croportal.net/forum/t3777-humor.html

    its open Page not found

    why is that

    why not redirection to http://www.croportal.net/forum/humor/

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

    only original vB URLs (like forumdisplay.php?f=xx and showthread.php?t=xx) are redirected automatically. If you have used other URL formats, you should manually add rewrite rules for redirection in your .htaccess.

  3. #3
    Senior Member
    Real Name
    Kristijan
    Join Date
    Oct 2005
    Location
    Zagreb
    Posts
    284
    Liked
    1 times
    i dont know how to start to add manualy that, can u help me, or give me an example

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Try to add the following in your forum/.htaccess (right after "RewriteEngine on" line):

    RewriteRule ^t([0-9]+)-.+\.html$ showthread.php?t=$1

  5. #5
    Senior Member
    Real Name
    Kristijan
    Join Date
    Oct 2005
    Location
    Zagreb
    Posts
    284
    Liked
    1 times
    it works with this forumdisplay.php?f=xx and showthread.php?t=xx but it not work with DEAN C, and google has indexed all urls by deanc

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Sure, exactly as I noticed in the post above question with google and redirection
    You should manually add rewrite rules which I provided for you in previous post.

  7. #7
    Senior Member
    Real Name
    Kristijan
    Join Date
    Oct 2005
    Location
    Zagreb
    Posts
    284
    Liked
    1 times
    i dont understan you, i have add this RewriteRule ^t([0-9]+)-.+\.html$ showthread.php?t=$1 it working fine, but i want to work and with DEAN C hack, can i do something that

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Mm.. please clarify a bit
    You want to redirect your old URL http://www.croportal.net/forum/t3777-humor.html to a new one, right? It should work if you will add the specified rewrite rule in forum/.htaccess (at the top of vBSEO rewrite rules).

  9. #9
    Senior Member
    Real Name
    Kristijan
    Join Date
    Oct 2005
    Location
    Zagreb
    Posts
    284
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk
    Mm.. please clarify a bit
    You want to redirect your old URL http://www.croportal.net/forum/t3777-humor.html to a new one, right? It should work if you will add the specified rewrite rule in forum/.htaccess (at the top of vBSEO rewrite rules).
    i want all forum categories from previuos hack redirect to new one example www.croportal.net/forum/f95-humor.html and i want all thread from previous deana c hack redirect to now vbseo urls example thread http://www.croportal.net/forum/t4157...le-thread.html because i in google have 31.000 indexed pages and when you click on some page it saids PAGE NOT FOUND can u tell me what i need put in .htacces i have no idea

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Hi,

    as mentioned above, the following rewrite rule should be added to "forum/.htaccess" (not root .htaccess) to redirect thread pages:
    RewriteRule ^t([0-9]+)-.+\.html$ showthread.php?t=$1
    Use this one to redirect forumdisplaypages:
    RewriteRule ^f([0-9]+)-.+\.html$ forumdisplay.php?f=$1
    That's it.

  11. #11
    Senior Member
    Real Name
    Kristijan
    Join Date
    Oct 2005
    Location
    Zagreb
    Posts
    284
    Liked
    1 times
    oh my god, its working, thanks OLEG

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Great

Similar Threads

  1. Redirection problem!
    By poprulz in forum Troubleshooting
    Replies: 9
    Last Post: 03-10-2006, 05:50 PM
  2. More 301 redirection for old URLS
    By BigBlueBall in forum Custom Rewrite Rules
    Replies: 5
    Last Post: 01-17-2006, 01:28 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
  •