Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-02-22 03:09:14

dbfoto
Member
Registered: 2013-01-04
Posts: 121

moving the folders of the site on the server

Hi,

As my site has trouble with the redirecting php-script i want to move the whole lot.
My site is now located in [rootfolder]\2019
Can I move it to the rootfolder without trouble?

Donald

Offline

#2 2019-02-22 03:19:43

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: moving the folders of the site on the server

You should be able to. Here are some suggestions: https://ttg-tips-and-tricks.barbeephoto … tion-site/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-02-22 04:25:51

dbfoto
Member
Registered: 2013-01-04
Posts: 121

Re: moving the folders of the site on the server

nope, doesn't work well.
I saved the current index.html and index.php and deleted all rubbish what cleaned up a lot and then moved all files and folders from ../2019 to the root after adapting the settings in the admin settings. but it resulted in a rubbish text screen showing my menu as a list

Offline

#4 2019-02-22 04:39:57

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: moving the folders of the site on the server

If you're moving your site to the root, you'll need to get rid of any old index files.

It should work. I've moved several test sites in just that way.

Can you include a link to the site?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2019-02-22 05:02:22

dbfoto
Member
Registered: 2013-01-04
Posts: 121

Re: moving the folders of the site on the server

www.fotograafdonald.nl/2019
the 2019 has to go
i did remove old indexfiles

Offline

#6 2019-02-22 05:52:49

dbfoto
Member
Registered: 2013-01-04
Posts: 121

Re: moving the folders of the site on the server

found something strange. After the transfer my website showed damaged. and clicking any link from the menu send it to the old situation with the 2019 still inserted like nothing has changed

Offline

#7 2019-02-22 06:30:09

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: moving the folders of the site on the server

Check your menu set to make sure that your urls don't contain 2019. If you chose URL for the Link To option and manually entered the url, that isn't changed by changing Backlight settings. You'll need to do that yourself, like with any other links you may have created within the sites (Like text links)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2019-02-22 06:32:15

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: moving the folders of the site on the server

You still have this strange frameset on your site.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#9 2019-02-22 07:01:15

dbfoto
Member
Registered: 2013-01-04
Posts: 121

Re: moving the folders of the site on the server

Rod: I do not understand. nowhere in the menus I put in manual addresses with 2019. I use the designer, that is all
Daniel: I just found out that the frames come from the index.html that calls the index.php to redirect the domains to their respective folders.
The links to the Creative Common stie keep refusing but the breadcrumbs are inconsistent in functioning and refusing

Here under those files.

index.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
</head>
<frameset rows="100%,*" cols="*" >
<frame name="subdom" src="index.php" marginwidth="0" marginheight="0" scrolling="auto" frameborder="NO">
<frame src="dummy.html">
</frameset>
<noframes>
</noframes>
</html>

index.php:
<?php
$host=getenv("HTTP_HOST");
if($host == "www.fotograafdonald.nl") { $url = "/2019/index.php"; }
elseif($host == "fotograafdonald.nl") { $url = "/2019/index.php"; }
elseif($host == "www.fotogravisie.nl") { $url = "/fotogravisie/index.html"; }
elseif($host == "www.streetmagic.nl") { $url = "/streetmagic/index.html"; }
elseif($host == "fotogravisie.fotograafdonald.nl") { $url = "/fotogravisie/index.html"; }
elseif($host == "www.fotografiemodellen.nl") { $url = "index.shtml"; }
elseif($host == "www.fotografieworkshops.nl") { $url = "index.shtml"; }
else { $url = "index2.html" ; }
Header("Location: $url");
?>

Last edited by dbfoto (2019-02-22 07:01:51)

Offline

#10 2019-02-22 07:11:34

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: moving the folders of the site on the server

Hi Cristian,

I would check with the cpanel in your host account how different domains/subdomains are handled. There should be a way to map the different domains you have to the respective root directories without this index.html/index.php hack.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#11 2019-02-22 07:53:16

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: moving the folders of the site on the server

Rod: I do not understand. nowhere in the menus I put in manual addresses with 2019

Did you change the Site URL in Backlight Settings?

I just found out that the frames come from the index.html that calls the index.php to redirect the domains to their respective folders

That's your main problem then. Until you can resolve things so that a frame set is not used on your main site, you're going to have issues with your Backlight site.

If you're using Backlight as the basis of your site (home page, etc.) then you need to be using the index.php and .htacces files that come with Backlight.

So if you want to put your Backlight files in the root of your site (where your index.php redirect and your index.html files are), that means you can't be using your redirecting index.php. And that index.html file should go away too.

Maybe your redirects can be handled from your C-Panel. That's what I've done for a couple of sites.
I have one site in a subdomain located at ttg-tips-and-tricks.barbeephoto.com. I also purchased the domain name ttg-tips.com. In my C-Panel I'm able to set up a redirect so that any requests for ttg-tips.com are rerouted to the subdomain.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#12 2019-02-22 17:03:36

dbfoto
Member
Registered: 2013-01-04
Posts: 121

Re: moving the folders of the site on the server

it's erratic, now it's working fine again. I'll look into that cpanel. But without my own original indexfiles and backlight solo in the root of my account it also gives problems, the lay out goes haywire...

Offline

#13 2019-02-22 23:27:16

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: moving the folders of the site on the server

not sure what you mean by "it's working fine." It's still in the frame set.

But without my own original indexfiles and backlight solo in the root of my account it also gives problems, the lay out goes haywire...

We might be able to help with that if we could see it.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#14 2019-02-25 04:57:05

dbfoto
Member
Registered: 2013-01-04
Posts: 121

Re: moving the folders of the site on the server

just back from 3 days out. back on this tomorrow...

Offline

Board footer

Powered by FluxBB