vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   moving content from Forums folder to root folder (https://vborg.vbsupport.ru/showthread.php?t=122697)

Aunt Clara 08-01-2006 04:11 AM

moving content from Forums folder to root folder
 
Well, I guess the title is self-explanatory. :) How do I go about moving everything to the root folder with a minimum amount of grief?

Kirk Y 08-01-2006 04:14 AM

Umm... just move it, lol. No fuss no muss.

Aunt Clara 08-01-2006 04:18 AM

Is it just that easy?

Freesteyelz 08-01-2006 04:50 AM

I think it depends how your files (avatars, images, attachments) are stored. Unless you moved stuff into a file system it should be easy. After the move check your vB Options in Admin CP to see if your URL and cookie paths are correct. If they are you're good to go. Only once you've made the move and your forum is up then delete the unused forum folders.

Aunt Clara 08-01-2006 06:05 AM

I left the folder system as it came with the installation. The site is working as it should right now. I might have to revise the links in the header and on some external pages.

Can I make a "test move" by copying all the files to the root server before I close shop in the forums server?

Kirk Y 08-01-2006 07:20 AM

Well obviously you'd have to change the path/to/your/forum in your vBulletin Options panel after you've moved, but there's nothing fancy that needs to be done -- no special SQL Query needed or anything like that.

A few weeks ago I moved my forum from mysite.com/forums to it's own domain: forum.mysite.com. I didn't do anything, aside from get a tall glass of iced tea while I waited for the files to move...

Marco van Herwaarden 08-01-2006 09:11 AM

If your goal is to make the forums accessible by a shorter URL only, then maybe better to leave the current directory structure and use a .htaccess rewrite rule to forward to the forum if the main url is accessed.

Would give you more flexibility to the future.

Freesteyelz 08-01-2006 09:41 AM

Good point. You can do it globally or on a forum-by-forum basis. For example, both my Announcements and Tutorial forums, which I'm working on for vB 3.6, are located within the forum directory. Using the rewrite rule I changed it from:

www.mydomain.com/forum/announcements/
www.mydomain.com/forum/tutorials/

To:

www.mydomain.com/announcements/
www.mydomain.com/tutorials/

Having the forum in a separate directory keep things clean. :)

Kirk Y 08-01-2006 09:45 AM

Wish I had Apache... dang Host is too lazy to install! :p

Freesteyelz 08-01-2006 09:51 AM

Yup, get on Apache if you can. I'm still finding out how powerful rewrites can be. I can appreciate search engine friendly URL's and all that but for me just changing the URL is fun. :D


All times are GMT. The time now is 10:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00973 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete