Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2014, 10:44 AM
eazygreek eazygreek is offline
 
Join Date: Aug 2012
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 2 domains for the same forum

hi to all
i want to put 2 domain for the same forum.
can someone help me how to do this?
Reply With Quote
  #2  
Old 11-26-2014, 05:09 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a good idea. It'll be bad for your search engine rankings, plus a nightmare with cookies.
Reply With Quote
Благодарность от:
RichieBoy67
  #3  
Old 11-26-2014, 05:25 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
Not a good idea. It'll be bad for your search engine rankings, plus a nightmare with cookies.


Why is it bad for search engine rankings and how is it a nightmare with cookies? I have 4 domains for my forums and I don't have neither of those problems ... he asked for help not your opinion ... Now you might take my questions a bit personal but all he asked for was help on how to do something ....

Anyways ... add the following to your .htaccess file and in your cPanel put your domains as parked domains and you are set ...

All you are doing here is redirecting your other domain to the forums and it has nothing to do with cookies at all and it "will not" affect your site ...

Example, this is the direct link to my clan's forums: https://www.cagclan.com/community/forum.php

This is the 2nd domain which is just redirected to the forums: www.clansrus.com ...

Try it


Code:
RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.yourdomain\.com$
RewriteRule ^/?$ "http\:\/\/yourdomain\.com\/forum-path\/" [R=301,L]
Reply With Quote
Благодарность от:
ForceHSS
  #4  
Old 11-26-2014, 05:28 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See, that isn't having multiple domains for the same forum though. That is using a redirect. You fcan actually setup a site/vbulletin to be accessible from multiple domains without redirecting, and that is generally bad mojo.
Reply With Quote
  #5  
Old 11-26-2014, 05:30 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok ... I understand what you are saying... but he did ask for 2 domains for his forums .. I gave him one option he can use and again explain why now that is "bad mojo" ....

--------------- Added [DATE]1417030307[/DATE] at [TIME]1417030307[/TIME] ---------------

My point here is that he asked for help not for your opinion Zachery .. why not just show him how to do it?
Reply With Quote
  #6  
Old 11-26-2014, 05:52 PM
Phillip Phillip is offline
Senior Member
 
Join Date: Apr 2014
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eazygreek View Post
hi to all
i want to put 2 domain for the same forum.
can someone help me how to do this?
You will end up with a mess of different stuff from different members on your forums. It would cause more problems that way.
Reply With Quote
  #7  
Old 11-26-2014, 05:56 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GhostX View Post
You will end up with a mess of different stuff from different members on your forums. It would cause more problems that way.
Not true ... if you only use a re-direct you don't even mess with cookies or the login system as it only re-directs the parked domain to the forum's path ...

I have had my website/forums with 4 different domains all pointing to my site and I have never had any problems ... so like I asked Zachary I will ask you ... explain why don't just give your opinion on things if you don't explain why it is so...
Reply With Quote
Благодарность от:
Phillip
  #8  
Old 11-26-2014, 06:01 PM
Phillip Phillip is offline
Senior Member
 
Join Date: Apr 2014
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CAG CheechDogg View Post
Not true ... if you only use a re-direct you don't even mess with cookies or the login system as it only re-directs the parked domain to the forum's path ...
That's true, I didn't think about that. But knowing how some people are they will complain about the re-direct "Why you do this?" "Why didn't warn us ahead of time before doing this?".
Reply With Quote
  #9  
Old 11-26-2014, 06:05 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GhostX View Post
That's true, I didn't think about that. But knowing how some people are they will complain about the re-direct "Why you do this?" "Why didn't warn us ahead of time before doing this?".
Yeerp I hear yah...but if he only wants 2 domains for his forums which is what I have and what I assume he is asking for then that is the best solution for what his initial question is.....

And again, a re-direct won't harm anything regarding search engine rankings or cookies at all ...

And this "is" having multiple domains for a forum because 2 different domains get you to the forums ....
Reply With Quote
  #10  
Old 11-26-2014, 06:07 PM
Phillip Phillip is offline
Senior Member
 
Join Date: Apr 2014
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CAG CheechDogg View Post
Yeerp I hear yah...but if he only wants 2 domains for his forums which is what I have and what I assume he is asking for then that is the best solution for what his initial question is.....

And again, a re-direct won't harm anything regarding search engine rankings or cookies at all ...

And this "is" having multiple domains for a forum because 2 different domains get you to the forums ....
I'll have to remember that in the future. Looks like he is asking about that, though.
Reply With Quote
Благодарность от:
CAG CheechDogg
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04980 seconds
  • Memory Usage 2,273KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete