Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:58:44 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155539 Posts in 21712 Topics by 7737 Members
Latest Member: deanmacullam
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Installation in wrong directory  (Read 445 times)
pulsarx

Offline Offline

Posts: 19


« on: December 22, 2010, 11:54:53 PM »

Just followed installation manual and installed WebsiteBacker in default "wb" directory:

http://name.domain.com/wb/

but now I only can access it from this ../wb directory, not from root directory http://name.domain.com.
In parent directory I just have web hosting Ads page. So I need redirect from root directory http://name.domain.com to the "wb" directory without typing http://name.domain.com/wb/.

Is there way solve this problem without reinstalling WB?
« Last Edit: December 23, 2010, 12:10:28 AM by pulsarx » Logged
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #1 on: December 23, 2010, 12:51:08 AM »

You can either:
1. use htaccess file to set /wb/ as the index of your site, then visitors get redirected automatically to /wb/ when they visit the root. Of course you keep the /wb/ in your path then.
2. move all files to the root, add /install/ folder again, add clean config.sys, create new database, restart installation
3. delete everything, and reinstall in the root

Of course options 2 and 3 are only interesting if you have a new, clean install with no pages and content.
« Last Edit: December 23, 2010, 12:55:08 AM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
pulsarx

Offline Offline

Posts: 19


« Reply #2 on: December 23, 2010, 02:57:49 PM »

I placed into the root directory index.php with the following code:
Code:
<?php
header
("HTTP/1.1 301 Moved Permanently");
header("Location: http://sitename.domain.com/wb/");
exit();
?>

it work. Is it correct way? Or htaccess is better?
It take many time to upload WB files via FTP. How to move "wb" folder content into root? I can access only via FTP.
Logged
oeh

Offline Offline

Posts: 190



« Reply #3 on: December 23, 2010, 07:33:15 PM »

It take many time to upload WB files via FTP. How to move "wb" folder content into root? I can access only via FTP.

It's all described here http://www.websitebaker2.org/en/help.php
Logged

Good bye ;-{(
oeh ;-}>
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #4 on: December 23, 2010, 09:31:27 PM »

htaccess is better than page redirect because it's server-based.

For moving files you'd best use your hosting panel, like Plesk or cPanel. Then you can move files within a few seconds all at once using the file manager. Otherwise you have reupload all files...
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!