Results 1 to 14 of 14

Alternative domain for just one forum

This is a discussion on Alternative domain for just one forum within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi there, I have a large forum system and i need to move one domain name that it is not ...

  1. #1
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times

    Alternative domain for just one forum

    Hi there,

    I have a large forum system and i need to move one domain name that it is not the normal.

    The thing is this. We have the adult forum, but i want to setup the second domain name as alias of the main, and when the people access to the www.2.com get access to the porn forum, but when they enter to www.1.com they will see ONLY the other forums.

    Any idea?

  2. #2
    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
    This is not possible with vbseo. It is tied to one domain.

  3. #3
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times
    Yes, it is for one domain, just with a domain alias. Thing it should be easy.

    We have www.forum.com, and we have adult forum on www.forum.com/adult, we only need a rule to forward all www.forum.com/adult to forumadult.com: The Leading Adult Shopping Site on the Net that it is an alias of the main. If we need buy another license that it is not a problem. We just need the help. We got this in the past in phpbb with few seo tools, but we migrate one month ago and we need figure it out.

  4. #4
    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
    vbseo "base" href's all links on the site with the installed domain.

    Your only option would be to buy a new license for vb and make that forum a link to the new site. You can't install vbseo on this domain. vBSEO is not allowed on sites whose main theme is adult in nature, per our EULA. vBSEO™ - End User License Agreement (EULA)

  5. #5
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times
    well just thing it is another section. we can't split our forum users, we have more than 50k.

  6. #6
    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
    I'm sorry, but we do not have a solution for this.

  7. #7
    Member
    Real Name
    Jeffrey Espejo
    Join Date
    Jun 2007
    Posts
    77
    Liked
    0 times
    Wouldn't he just be able to set up some sort of htaccess redirect?

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

    there is no built-in feature in vBSEO to have custom URLs for a specific subforum, but you can try this:
    1. Create a new plugin in vB admincp for "global_complete" hook, with "execution order" set to "30":
    $output = str_replace('http://www.forum.com/adult', 'http://www.forumadult.com', $output);
    2. And in your .htaccess file add this right after "RewriteEngine on" line:
    RewriteCond %{HTTP_HOST} forumadult\.com
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) vbseo.php?vbseourl=adult$1 [L]

  9. #9
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times
    Could you try to help us in the ticket system? I have few confidential information that i cant post in the forums.

  10. #10
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello,

    there is no built-in feature in vBSEO to have custom URLs for a specific subforum, but you can try this:
    1. Create a new plugin in vB admincp for "global_complete" hook, with "execution order" set to "30":


    2. And in your .htaccess file add this right after "RewriteEngine on" line:
    The plugin works. It replace the URL fine in the forum system, but the Rewrite rules is not working.

    I have this:

    RewriteCond %{HTTP_HOST} domainnameforforum\.com
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) vbseo.php?vbseourl=the-forum-name$1 [L]

    But when I try to access it i just got that the forum link it is invalid.

    At this point what i need is:

    If the users enter to domainnameforforum.com they should see the forum content of orginalforum/the-forum-name, because any other forum should be visible only using the other address.

    Thank you, I think we can get it working with a few modification.

  11. #11
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times
    I add this to the plugin to get the login without issues:


    if($_SERVER['HTTP_HOST'] == "www.domainnameforforum.com" && $_SERVER['PHP_SELF'] == "/login.php" ){

    $output = str_replace('http://www.main.com', 'http://www.domainnameforforum.com', $output);

  12. #12
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times
    ok, i fix the index redirection adding a plug in with this:

    if($_SERVER['HTTP_HOST'] == "www.domainnameforforum.com" && $_SERVER['PHP_SELF'] == "/index.php" ){
    ob_start();
    header("HTTP/1.1 301 Moved Permanently");
    header ("Location: http://www.domainnameforforum.com/forum-name/");
    ob_end_clean();
    exit;

    }

    To global_start.

    Now; I just need the SEO friendly URL to redir all the request to the old URLs to the newones. Could someone help me out?

  13. #13
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,266
    Liked
    586 times
    Someone will be replying to your support ticket shortly.

    Keep in mind that we do not support unofficial modifications like this one, however, since it's an .htaccess redirect, I've asked Oleg to help you set it up. Note that we cannot commit to support this modification if further issues arise.

  14. #14
    Member
    Real Name
    Larry
    Join Date
    Oct 2006
    Posts
    49
    Liked
    1 times
    ok thank you.

Similar Threads

  1. Replies: 3
    Last Post: 12-28-2009, 07:55 AM
  2. domain.com/forum to subdomain.domain.com
    By MentaL in forum Custom Rewrite Rules
    Replies: 9
    Last Post: 08-08-2009, 04:31 PM
  3. I need htaccess domain.com ---> domain.com/forum/
    By FIM in forum Custom Rewrite Rules
    Replies: 1
    Last Post: 11-16-2008, 09:10 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
  •