Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19

Google not indexing the right sites

This is a discussion on Google not indexing the right sites within the General Discussion forums, part of the vBSEO SEO Plugin category; It's been over a week and a half now that I've installed vbSEO and yet google is still indexing old/wrong ...

  1. #1
    Junior Member Array
    Real Name
    NightNinja
    Join Date
    Mar 2006
    Posts
    26
    Liked
    0 times

    Google not indexing the right sites

    It's been over a week and a half now that I've installed vbSEO and yet google is still indexing old/wrong URLs. I disabled the archive a few days ago and not a single of the URLs that google has updated is one of the new ones. What am I doing wrong?

    site:mpcdownloads.com vbseo - Google Search

    My website is MPC Download Center . What I have noticed though, is that it's also indexing sites that don't exist for instance on this forum when I posted about how the URLs would be changed, it put both of those URLs into the index even though both are 404's.

  2. #2
    Senior Member Array
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    16 times
    Quote Originally Posted by NightNinja
    What am I doing wrong?
    The only thing you're doing wrong is that you're eager. It can take quite a while for updates to show up. (Months, even.) So, just hang in there.

  3. #3
    Junior Member Array
    Real Name
    NightNinja
    Join Date
    Mar 2006
    Posts
    26
    Liked
    0 times
    Ok, but I seriously think there are still problems since the a lot of the links were changed in their format and still work and don't redirect to the new URLs.

    Example: download travis minimizer - Google Search

    Google provides a link to the old URL which (if clicked on) still goes to the old URL which still works. This is because in order to properly install vbSEO I had to change the link to ad &name= &cat= in order for it to have the keywords in there properly. I really think that in order for google not to think it's duplicate content I have to somehow make sure the old URLs redirect to the new ones...

  4. #4
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Hello,

    sure you can define the custom rewrite rules in .htaccess to redirect these URLs.
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Junior Member Array
    Real Name
    NightNinja
    Join Date
    Mar 2006
    Posts
    26
    Liked
    0 times
    And how would I do that? I can't manually add 4000+ URLs...

  6. #6
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    For the automatic redirection, you should add the corresponding code to your downloads.php script.
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #7
    vBSEO Staff Array Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,033
    Liked
    31 times
    When you say 'site', you really mean 'page', right?
    Ace Shattock / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting

  8. #8
    Junior Member Array
    Real Name
    NightNinja
    Join Date
    Mar 2006
    Posts
    26
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk
    For the automatic redirection, you should add the corresponding code to your downloads.php script.
    I don't know what you mean by this, how would i go about this?

    Quote Originally Posted by kall
    When you say 'site', you really mean 'page', right?
    Yes i mean pages.

  9. #9
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Hello,

    The code to insert depends on the specific script you are using, I checked this for you though (vBdownloads and vB3.0.x in your case).

    I assume that you want to perform the following redirections (from old-formatted URLs to new URLs with titles included):
    Code:
    downloads.php?do=cat&id=XX => downloads.php?do=cat&id=XX&catname=YY
    downloads.php?do=file&id=XX => downloads.php?do=filet&id=XX&filename=YY&catname=ZZ

    You can try the following modification of downloads.php file.

    FIND:
    PHP Code:
    require_once('./includes/dl_panel.php'); # The Panel Info 
    ADD BELOW:
    PHP Code:
    switch ($_GET['do']) {
        case 
    'cat':
            if(!isset(
    $_GET['catname']))
            {
                
    standard_redirect('''downloads.php?do=cat&id='.$_GET['id'].'&catname='.
                    
    urlencode($DB_site->query_result("SELECT name FROM " TABLE_PREFIX "file_cats WHERE id = '".$_GET['id']."'")));
            }

            break;
        case 
    'file':
            if(!isset(
    $_GET['filename']))
            {
                
    $res $DB_site->query("SELECT catid,name FROM " TABLE_PREFIX "file_files WHERE id = '".$_GET['id']."'");
                
    $frow $DB_site->fetch_array($res);

                
    standard_redirect('''downloads.php?do=file&id='.$_GET['id'].
                    
    '&filename='.urlencode($frow['name']).
                    
    '&catname='.
                    
    urlencode($DB_site->query_result("SELECT name FROM " TABLE_PREFIX "file_cats WHERE id = '".$frow['catid']."'"))
                    );
            }

            break;

    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  10. #10
    Junior Member Array
    Real Name
    NightNinja
    Join Date
    Mar 2006
    Posts
    26
    Liked
    0 times
    Adding that basically undoes what vbSEO does... It re-adds the old style URLs and vbSEO does not change them.

  11. #11
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Please note that I mentioned in the post:
    I assume that you want to perform the following redirections (from old-formatted URLs to new URLs with titles included):

    Code:
    downloads.php?do=cat&id=XX => downloads.php?do=cat&id=XX&catname=YY
    downloads.php?do=file&id=XX => downloads.php?do=file&id=XX&filename=YY&catname=ZZ
    I see that in your case the redirections are not exactly like this:
    Code:
    downloads.php?do=cat&id=XX => downloads.php?do=cat&id=XX&name=YY
    downloads.php?do=file&id=XX => downloads.php?do=file&id=XX&name=YY&cat=ZZ
    So, you should modify the php code accordingly (not exactly as I posted, but so that it suits to your URLs).

    In your case the code will be:
    PHP Code:
    switch ($_GET['do']) {
        case 
    'cat':
            if(!isset(
    $_GET['name']) && !isset($_GET['page']))
            {
                
    standard_redirect('''downloads.php?do=cat&id='.$_GET['id'].'&name='.
                    
    urlencode(str_replace(' ''-'$DB_site->query_result("SELECT name FROM " TABLE_PREFIX "file_cats WHERE id = '".$_GET['id']."'"))));
            }

            break;
        case 
    'file':
            if(!isset(
    $_GET['name']) && !isset($_GET['act']))
            {
                
    $res $DB_site->query("SELECT catid,name FROM " TABLE_PREFIX "file_files WHERE id = '".$_GET['id']."'");
                
    $frow $DB_site->fetch_array($res);

                
    standard_redirect('''downloads.php?do=file&id='.$_GET['id'].
                    
    '&name='.urlencode(str_replace(' ''-'$frow['name'])).
                    
    '&cat='.
                    
    urlencode(str_replace(' ''-'$DB_site->query_result("SELECT name FROM " TABLE_PREFIX "file_cats WHERE id = '".$frow['catid']."'")))
                    );
            }

            break;

    Last edited by Oleg Ignatiuk; 04-21-2006 at 01:49 AM.
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  12. #12
    Junior Member Array
    Real Name
    NightNinja
    Join Date
    Mar 2006
    Posts
    26
    Liked
    0 times
    Thank you for the fix, my mistake for not noticing, in any case, with this fix, while the URLs still say the same and the old ones turn into the new ones, it creates a new problem that doesn't allow users to be able to download the actual file, rather, it just forwards the user back to the same page they attempted to download it from.

  13. #13
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    I've updated the code in the post above accordingly, please give it a try.
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  14. #14
    Junior Member Array
    Real Name
    NightNinja
    Join Date
    Mar 2006
    Posts
    26
    Liked
    0 times
    It works perfectly now! Thanks so much Oleg!

  15. #15
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    You are welcome!
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Page 1 of 2 1 2 LastLast

Similar Threads

  1. Next to no google indexing after 2 months.
    By Spitfire in forum Analysis: Traffic & SERPS
    Replies: 12
    Last Post: 08-14-2006, 10:09 AM
  2. Google indexing online databases-Filemaker, Alpha5, Access, etc.
    By disco4me in forum Off-Topic & Chit Chat
    Replies: 0
    Last Post: 02-16-2006, 10:40 AM
  3. google indexing decreasing for my site
    By ang2el in forum Troubleshooting
    Replies: 1
    Last Post: 02-14-2006, 10:34 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
  •