vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   moving forum from directory to root (https://vborg.vbsupport.ru/showthread.php?t=193863)

webspawner 10-17-2008 04:02 PM

moving forum from directory to root
 
Hey,

I want to move my forum from the forum directory to the root directoty so everything is there when you hit the domain (dont want no redirections),

As I currently have it setup and configured for the 'forum' directory how can I move it all to root?

Is it as simple as moving the files folders to root in FTP or SSH? and then maybe update the config? is there any database modifications?

Thanks in advance,

GreigScott 10-17-2008 04:49 PM

I think so ye, then edit the vB options to the new link..

SEOvB 10-17-2008 08:48 PM

Update the 2-3 settings in the admincp first to refelect the new location, then move the files.

webspawner 10-17-2008 09:13 PM

what settings are these?

do this and then move all files via FTP to root?

Would that be all?

Thanks in advance

Netunt 10-17-2008 09:37 PM

Quote:

Originally Posted by webspawner (Post 1647304)
what settings are these?

do this and then move all files via FTP to root?

Would that be all?

Thanks in advance

You need to change the forum URL path.

This is found under vBulletin Options >>> Site Name / URL / Contact Details and rename the forum URL to what it will be.

Then all you have to do is move the files

Hope this helps, PM me if you get stuck.

webspawner 10-17-2008 09:49 PM

does anybody know the full SSH command for moving the forum files and folders from root/forum' folder to root?

Thanks

SEOvB 10-19-2008 12:08 AM

mv forums/* ../

should do it ran from your www/public_html folder

Lizard King 10-19-2008 06:45 AM

Also you may want to create an .htaccess in your forum folder with the following content so that all reuqets at forum folder will be redirected to your root

Code:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.domain.com/$1


Marco van Herwaarden 10-20-2008 07:11 AM

Quote:

Originally Posted by FRDS (Post 1648008)
mv forums/* ../

should do it ran from your www/public_html folder

That is incorrect.

It would move www/public_html/forums/* to www/. instead of www/public_html/.

Correct would be: mv forums/* .


All times are GMT. The time now is 05:54 PM.

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.01049 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete