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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2010, 10:41 PM
gmata gmata is offline
 
Join Date: Sep 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Changing to a different Root Folder

Hello guys,

I currently have my forum installed on the main folder www.pistolerosdelmar.com i want to move the forum to a different folder called "Forum" so the url is www.pistolerosdelmar.com/forum, what files do i need to move into that folder so everything is working like it is right now, i am afraid of broken links or lost threads please help.

Thanks.

Gonzalo
Reply With Quote
  #2  
Old 02-17-2010, 08:56 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to move all files and directories of your current forum home directory.

PS Be aware that this will change all your links!
Reply With Quote
  #3  
Old 05-22-2010, 05:30 PM
gmata gmata is offline
 
Join Date: Sep 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What links would this be?

Anything i need to to with the Database? what folders exactly do i need to copy?

Thanks.
Reply With Quote
  #4  
Old 05-22-2010, 07:37 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmata View Post
What links would this be?

Anything i need to to with the Database? what folders exactly do i need to copy?

Thanks.
It will change your forum links/urls. You would need to move the forum files from the root. Create a folder called "forum", without the quotes, and upload there your forum files. You can upload files to your pc and back to your server space with a ftp client. Or even through the File Manager at the CP of your host.

Then update your board url at your Acp-Settings-Site Name / URL / Contact Details-Forum URL. Change here the url from:

Code:
www.pistolerosdelmar.com
to:

Code:
www.pistolerosdelmar.com/forum
Save the changes and you should be all set. Hope it helps.
Reply With Quote
  #5  
Old 10-05-2010, 11:27 PM
gmata gmata is offline
 
Join Date: Sep 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting ready to perform this move can you please tell me what links will be changed and what problems would this cause?

Thanks
Reply With Quote
  #6  
Old 10-08-2010, 02:42 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any links already used in posts or otherwise hard coded into templates, if you customized any, will be broken. If anyone ever linked to one of your posts/threads from another site it will be broken. If google indexed your site all their links will be broken until you get re-indexed. Although it's easy enough to do the repercussions can be severe.

Can I ask why you want to do this? If you want to put a custom page at your web root you can just change the name of "index.php" to "forum.php" and make the change in vbulletin options to update that... then you can make a custom index.php file people will see if they go to yourdomain.com.
Reply With Quote
  #7  
Old 10-08-2010, 03:14 AM
gmata gmata is offline
 
Join Date: Sep 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Can I ask why you want to do this? If you want to put a custom page at your web root you can just change the name of "index.php" to "forum.php" and make the change in vbulletin options to update that... then you can make a custom index.php file people will see if they go to yourdomain.com.
Thanks Bird,
That is exactly what i want to do add a custom page in my root directory.

So i go to my domain directory via FTP and change the index.php to forum.php then where in the forum options can i update this? would't this change the address also?

Then how do i make a page that would be the first one people see when they go to mydomain.com

Thanks and sorry for all the questions i am a newbie
Reply With Quote
  #8  
Old 10-08-2010, 03:28 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First go to FTP and rename index.php to forum.php
Now it depends where you want your users to go when they click on the forum logo and the forum homepage link in the footer. If you want them to go to the new page you're making then you are done... If you want these links to take them to the forum home that used to be index.php then you need to edit the address of the link in the URL in your header template and if you choose the homepage link in vbulletin options -> Site Name / URL / Contact Details...

Just be sure you have am index.php page ready to upload. Have you given any thought to this? www.vbadvanced.com CMPS is a free popular choice for making home pages and gives detailed instructions for making it index.php and renaming the old file forum.php.
Reply With Quote
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 01:19 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.04692 seconds
  • Memory Usage 2,231KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete