Page 3 of 16 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 LastLast
Results 31 to 45 of 239
Like Tree1Likes

404 / 301 Tool After Import Redirect on ImpEx imported forums

This is a discussion on 404 / 301 Tool After Import Redirect on ImpEx imported forums within the General Discussion forums, part of the vBSEO SEO Plugin category; Yep I have edited as instructed: Code: $standard_404 = 'http://www.mydomain.com/error/404.html'; // The usual 404 that this script replaces $new_domain = ...

  1. #31
    Junior Member
    Real Name
    Diego
    Join Date
    Aug 2006
    Posts
    22
    Liked
    0 times
    Yep I have edited as instructed:

    Code:
    $standard_404     = 'http://www.mydomain.com/error/404.html';     // The usual 404 that this script replaces
    $new_domain     = 'www.mydomain.com';   // Including domain extension such as www.example.com , donot include http://
    $new_folder        = '';    // Without trailing slash
    $ext_type        = '.php';         // File extension type that vBulletin is using, i.e. index.php including the preceding dot
    
    // Database
    // This is the vBulletin database, needed for import id look up and logging
    $server         = 'localhost';
    $user             = 'dbforums';
    $password         = 'dbpassword';
    $database         = 'dbname_com';
    $tableprefix     = '';
    
    
    $old_id         = intval($_GET['oldid']);
    $page            = intval($_GET['page']);
    $postcount        = intval($_GET['postcount']);
    $action         = $_GET['action'];
    $sql             = null;
    In vbseocp.php I have the "File Not Found" requests handling?" set to:
    /var/www/vhosts/mydomain.com/httpdocs/error/404.html

    With the radio button checked: Include custom script

    Regardless, whatever database settings I put above nothing happens. So I don't think the script is even being looked at at all?

  2. #32
    Junior Member
    Real Name
    Diego
    Join Date
    Aug 2006
    Posts
    22
    Liked
    0 times
    I've just tried this on a Plesk server running vB 3.8.2 and the same problem. vBulletin just completely ignores what's on the end of the index.php script and pulls up the forum homepage:

    http://www.<ourdomain>.com/index.php?topic=2131.msg6715

  3. #33
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Make sure tha you added new rewrite rules to tto *top* of .htaccess (above vBSEO rewrite rules).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #34
    Junior Member
    Real Name
    Diego
    Join Date
    Aug 2006
    Posts
    22
    Liked
    0 times
    Yep I have done that. This is the full contents of my .htaccess file with SMF rules:

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    RewriteCond %{QUERY_STRING} board=([0-9]+)
    RewriteRule index\.php vbseo301.php?action=forum&oldid=%1 [L]
    
    RewriteCond %{QUERY_STRING} topic=([0-9]+)
    RewriteRule index\.php vbseo301.php?action=thread&oldid=%1 [L]
    
    RewriteCond %{QUERY_STRING} .msg([0-9]+)
    RewriteRule index\.php vbseo301.php?action=post&oldid=%1 [L]
    
    RewriteCond %{QUERY_STRING} action=profile;u=([0-9]+)
    RewriteRule index\.php vbseo301.php?action=useaction=profile;u=r&oldid=%1 [L]
    
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    For some reason, the rewrites to vbseo301.php just don't appear to be happening. It just shows the vBulletin forum home whatever old SMF URL is accessed.

    If I enter bogus data into vbseo301.php such as wrong database, or username, it doesn't trigger any errors either.

  5. #35
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    Please make sure within vBSEO Cp you have the followng settings

    "File Not Found" requests handling? Send 404 HTTP code
    Force Forum Root as Homepage? No
    Define Homepage Aliases ? Empty
    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

  6. #36
    Junior Member
    Real Name
    Diego
    Join Date
    Aug 2006
    Posts
    22
    Liked
    0 times
    Thanks for those suggestions!

    I made those changes but it's still not loading the old content on URLS like: http://www.<ourdomain>.com/index.php?topic=2131.msg6715

    Everything is still loading the forum homepage.

    Obviously rewrite works otherwise vbSEO wouldn't be working.

    This is blowing my mind

  7. #37
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Please open a ticket with ftp access for troubleshooting.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  8. #38
    Junior Member
    Real Name
    Diego
    Join Date
    Aug 2006
    Posts
    22
    Liked
    0 times
    Thanks Olga. I have submitted a ticket with the requested information. I hope you can get to the bottom of what I am doing wrong because I have honestly tried everything I can think of.

  9. #39
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    An update:
    I've added "vbseo301" to this line:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|vbseo301)
    and it works now.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  10. #40
    Junior Member
    Real Name
    Diego
    Join Date
    Aug 2006
    Posts
    22
    Liked
    0 times
    It sure does work. Thanks so much for ending my nightmare.

  11. #41
    Junior Member
    Real Name
    David Pointer
    Join Date
    Jul 2009
    Posts
    19
    Liked
    0 times
    We imported a large forum from EVE last month. I would love to have this work for us. Has anyone gotten it to run with an EVE import?

  12. #42
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    Hello David ,

    What is the old url examples within EVE
    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

  13. #43
    Junior Member
    Real Name
    David Pointer
    Join Date
    Jul 2009
    Posts
    19
    Liked
    0 times
    Individual forum http://www.oldforum.com/eve/forums/a/frm/f/540103904
    Thread http://www.oldforum.com/eve/forums/a...935/m/74710856
    User http://www.oldforum.com/eve/personal?x_myspace_page=profile&u=615108163
    Main forum list http://www.oldforum.com/eve/forums/

    I had to play a bit to make it show up here, but I think I have it now. Does the fact that I did the transfer a month ago matter?
    Last edited by 45Wheelgun; 07-13-2009 at 05:12 PM.

  14. #44
    Junior Member
    Real Name
    Sander Tuit
    Join Date
    Sep 2009
    Posts
    2
    Liked
    0 times

    phpbb SEO Mod to vBSEO

    I'm having some problems with this as well. I'm now trying to get this to work on our test forum, but there seem to be some problems.

    Old forum links:
    Individual forum: forum/android-nieuws-f42/
    Thread: forum/android-nieuws-f42/weer-update-t1235.html
    Main forum list: forum/

    Can anyone help me with the required .htaccess rules?

  15. #45
    Junior Member
    Real Name
    crowdgather
    Join Date
    Jan 2008
    Posts
    12
    Liked
    0 times
    Would this work with vbulletin impex import? We are trying to merge a few forums without losing our SEO links, what sort of RW rules would be needed for that?

    basically we have forum1.com and forum2.com

    I want to dump forum1 into forum2 and not lose the forum1.com vbseo links. Both are vbulletin forums

    Thanks!

Page 3 of 16 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 04-08-2008, 07:03 AM
  2. RC8 - CSS redirect for Moderator forums
    By skoenig in forum Bug Reporting
    Replies: 2
    Last Post: 01-23-2007, 09:43 PM
  3. 301 Redirect on Forums
    By tavenger5 in forum Custom Rewrite Rules
    Replies: 8
    Last Post: 05-23-2006, 11:46 PM
  4. The use of Impex to import a board
    By roadart in forum General Discussion
    Replies: 1
    Last Post: 05-13-2006, 08:53 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
  •