Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:20:02 AM

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.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: How 2 promote baker?  (Read 820 times)
pszilard

Offline Offline

Posts: 73


WWW
« on: December 12, 2007, 09:22:36 PM »

While testing Baker and my self using it, I had installed it in a subdirectory of /wb

I would now like to make it prime time and use the Baker site so that when someone goes to my site they will see the wb version. Is there some instruction you can point me to describing how to relocate the bakery site from /wb to / ?

It seems to me that the Homepage Redirection may allow this to operate from /wb but to appear as tho' it was in the root, but I am confused what to put in the root folder for this to work. Or do I need to move the entire contents of /wb to / and then change the base url to be without the /wb?
Logged

Paul Szilard
WB user since Dec 2007:
http://www.remektek.com.au/wb
http://photos.remektek.com.au/ for my photo portfolio
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: December 13, 2007, 11:47:14 AM »

Hello,

Homepage redirection option means something totally different. If you wanna have your page in the root and not in the subdirectory please read here:

http://help.websitebaker.org/pages/en/knowledge-base/moving-from-server-a-to-b.php

Basically it is the same as from moving from server A to B. You need to move all from the subdirectory to the root, adapt the config.php and replace the pathes in the database. If you got errors after moving it has to do with ownerships and permissions of folders and files. To get more info about this read here:

http://help.websitebaker.org/pages/en/knowledge-base/files-and-permissions.php

Matthias
Logged
mickpage
Guest
« Reply #2 on: December 13, 2007, 11:59:16 AM »

If you want to leave it in the wb folder then just create an index.html file in the root folder with the following content, (this will redirect visitors from root to the wb folder):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="REFRESH" content="0; URL=wb/">
</head>
</html>
Logged
pszilard

Offline Offline

Posts: 73


WWW
« Reply #3 on: December 13, 2007, 10:02:44 PM »

If you want to leave it in the wb folder then just create an index.html file in the root folder with the following content, (this will redirect visitors from root to the wb folder):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="REFRESH" content="0; URL=wb/">
</head>
</html>

Thanks. I found a Java script redirection example, which also had the meta-tag in case the user didn't have javascript enabled. so that's what I am using now.
Logged

Paul Szilard
WB user since Dec 2007:
http://www.remektek.com.au/wb
http://photos.remektek.com.au/ for my photo portfolio
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!