1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove redirects after forum reindexed?

Discussion in 'XenForo Questions and Support' started by Laurentius, Oct 7, 2012.

  1. Laurentius

    Laurentius Active Member

    Is it possible to remove the redirects after the forum has been reindexed on google? I moved the forum from the root to /forum and redirected everything in the .htaccess file. It seems like the whole forum has been reindexed now, can I remove the redirects and disallow the forum urls in robots.txt for the root?

    Or should I leave it as it currently is? :)
     
  2. Adam Howard

    Adam Howard Well-Known Member

    Please post your question in the support forum. Support is only for valid customers.

    http://xenforo.com/community/forums/xenforo-questions-and-support.25/

    Thank you in advance for understanding :)

    If you are a valid customer, but are unable to post there. Please add your forum user name to your account. http://xenforo.com/customers/forum-users
     
  3. Laurentius

    Laurentius Active Member

    Thank you for letting me know that. I don't want to double post, a moderator can move it there if they like.
    Since I have been a valid customer for about 1 year now I already know that...
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I suggest leaving the redirects in place unless you have a reason to remove them. They might still be useful for old user-submitted links in posts and whatnot.
     
  5. Laurentius

    Laurentius Active Member

    Ok, the reason why I asked is before I had vbulletin 4 in the root and then moved to Xenforo in the root. Now when I moved Xenforo to /forum and redirects members, I have some old /members from the vbulletin installation that are redirected to nothing.. So could I dissallow /members in the root and stop redirecting them to /forum/members? I don't think the members profiles have that much links leading to them.
     
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You could update your redirects. If you are using these scripts:

    http://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.264/

    ...then you can edit the 301config.php file to specify the path to XenForo. That will account for the change of directory:

    Code:
    <?php
    
    /* ----------------------------------------------------------- *\
    This variable defines where XenForo is installed.
    
    If you have not installed XenForo into the same directory in which
    vBulletin was installed, you will need to provide the full path to
    the XenForo directory here. Remove the leading // and then enter
    the path as in the following examples:
    
    	$fileDir = '/home/example/public_html/new_forums';
    
    	$fileDir = 'C:/inetpub/wwwroot/xenforo';
    
    \* ----------------------------------------------------------- */
    
    	$fileDir = '/home/username/www/forums';
    
    /* ----------------------------------------------------------- *\
    This constant defines the table from which the import redirection
    scripts will fetch their data. Normally they will use the table
    'xf_import_log', but if you have archived your import data, you
    should provide the name of the archive table here. Remove the
    leading // and then replace 'import_log_x' with the name of your
    archive table, as in the following examples:
    
    	define('IMPORT_LOG_TABLE', 'my_import_log');
    
    	define('IMPORT_LOG_TABLE', 'import_log_my_forums');
    
    \* ----------------------------------------------------------- */
    
    //	define('IMPORT_LOG_TABLE', 'import_log_x');
    
     
  7. Laurentius

    Laurentius Active Member

    Ok, I checked and I had changed the path to /forum, but for some unexplainable reason it doesn't redirect for about 100 old vbulletin members..
     
  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    As in vB4 profile pages? What are the URLs? Are you using rewrite rules for this? What are they?
     
  9. Laurentius

    Laurentius Active Member

  10. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There is no user_id in the URL? That would require a custom script to map usernames to user_ids.
     
  11. Laurentius

    Laurentius Active Member

    Ok, But is there a way to disallow them or something in robots.txt? If I continue to redirect the members that it's redirecting, but disallow /members in the root. Google will remove those urls right? Will I still get link juice for the links that redirect correctly to /forum/members ?
     
  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    A robots.txt disallow would be all or nothing.
     
  13. Laurentius

    Laurentius Active Member

    Ok, what would you do? I have noticed that Google wont index all my members from the sitemap. Probably since I am redirecting some of them to nothing. I am thinking of disallowing /members in the root ( I am not gaining any traffic from them anyway).
     

Share This Page