Site Search:
 
Speak Korean Now!
Teach English Abroad and Get Paid to see the World!
Korean Job Discussion Forums Forum Index Korean Job Discussion Forums
"The Internet's Meeting Place for ESL/EFL Teachers from Around the World!"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Moving files on my web server

 
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum
View previous topic :: View next topic  
Author Message
stvwrd



Joined: 31 Mar 2005

PostPosted: Mon Aug 11, 2008 12:29 am    Post subject: Moving files on my web server Reply with quote

Okay, basically I have to replace the website you see here: http://koreagoldentee.com/

With the website you see here: http://koreagoldentee.com/forum/index.php

I know I could just uninstall wordpress and delete all those files but I'd like to just move it all down to a sub-folder, while moving the forum up to the main folder to become the main site.

Is there a relatively painless way of doing this? Possibly just setting the forums sub-folder as the folder to show when people first come to the site?

Any ideas?

Thanks
Back to top
View user's profile Send private message MSN Messenger
ttompatz



Joined: 05 Sep 2005
Location: Kwangju, South Korea

PostPosted: Mon Aug 11, 2008 4:27 am    Post subject: Re: Moving files on my web server Reply with quote

stvwrd wrote:
Okay, basically I have to replace the website you see here: http://koreagoldentee.com/

With the website you see here: http://koreagoldentee.com/forum/index.php

I know I could just uninstall wordpress and delete all those files but I'd like to just move it all down to a sub-folder, while moving the forum up to the main folder to become the main site.

Is there a relatively painless way of doing this? Possibly just setting the forums sub-folder as the folder to show when people first come to the site?

Any ideas?

Thanks


Do you have FTP or telnet access? Do you know how to use them?
I assume the webserver is remote from your location.
Back to top
View user's profile Send private message Send e-mail
rocklee



Joined: 04 Oct 2005
Location: Seoul

PostPosted: Mon Aug 11, 2008 5:39 am    Post subject: Reply with quote

There are several ways to do this :

- Ask the admin hosting your site to do it for you
- Use CPanel (or whatever administrative interface for your site) to redirect the index path to the forum directory, you just change the URL links without having to move any files
- Do you have command line access? (telnet?), use "mv (/old location) (/new location)"
- FTP

I would use the second option as its easier since you only want to redirect your default page to your forum directory instead of moving a whole bunch of files.
Back to top
View user's profile Send private message
stvwrd



Joined: 31 Mar 2005

PostPosted: Mon Aug 11, 2008 5:41 am    Post subject: Reply with quote

Yes, yes, and yes.

However, I'm afraid if I try to do it manually I might accidentally split up the files in a way that might wreck the old version of the site.

I was really hoping there would be a way to just tell the server to start people in another directory when they come to the website.

Still, I'll log on with ftp and poke around and see what I come up with.

Thanks!
Back to top
View user's profile Send private message MSN Messenger
stvwrd



Joined: 31 Mar 2005

PostPosted: Mon Aug 11, 2008 5:42 am    Post subject: Reply with quote

rocklee wrote:
There are several ways to do this :

- Ask the admin hosting your site to do it for you
- Use CPanel (or whatever administrative interface for your site) to redirect the index path to the forum directory, you just change the URL links without having to move any files
- Do you have command line access? (telnet?), use "mv (/old location) (/new location)"
- FTP

I would use the second option as its easier since you only want to redirect your default page to your forum directory instead of moving a whole bunch of files.


I wrote my first reply before this one was posted. I'll give the cpanel method a shot first. Thanks!
Back to top
View user's profile Send private message MSN Messenger
stvwrd



Joined: 31 Mar 2005

PostPosted: Mon Aug 11, 2008 7:06 am    Post subject: Reply with quote

Okay, so, I couldn't find anything in the cpanel that looked like it might do what was described. There is an "Index Manager" but the description says "The Index Manager allows you to customize the way a directory will be viewed on the web. You can select between a default style, no indexes, or two types of indexing. If you do not wish for people to be able to see the files in your directory, choose no indexing."

That doesn't really sound right to me.

So, I went into FTP and just moved files around manually. Sure enough when I went back to my browser nothing worked right and I just spent the last hour putting all the pieces back together again. I think the original site is toast (the content is still there in the subdirectory I moved it all too, but the nice wordpress theme is gone). At this point I just need to get the forum site up as the main page.

How about a simple line of html in the index file of the main directory that automatically forwards people on to the correct location? Kind of a workaround, but I just wanna get it running.
Back to top
View user's profile Send private message MSN Messenger
stvwrd



Joined: 31 Mar 2005

PostPosted: Mon Aug 11, 2008 7:19 am    Post subject: Reply with quote

Is something like this what I need to do?:

http://www.ehow.com/how_4435453_website-domain-name-web-direct.html

"If you have a well known website and you want to change your domain name or pages and files around without losing site traffic or your Google ranking, you can do this by setting up a 301 Redirect. A 301 redirect works on servers running Apache. It's easy to implement and it should preserve your search engine rankings. It is the safest option for domain name changes, file changes, and page changes."

If so I can ask my coworker that knows a lot about databases and Apache and stuff to help me.
Back to top
View user's profile Send private message MSN Messenger
rocklee



Joined: 04 Oct 2005
Location: Seoul

PostPosted: Mon Aug 11, 2008 8:23 am    Post subject: Reply with quote

stvwrd wrote:
Okay, so, I couldn't find anything in the cpanel that looked like it might do what was described. There is an "Index Manager" but the description says "The Index Manager allows you to customize the way a directory will be viewed on the web. You can select between a default style, no indexes, or two types of indexing. If you do not wish for people to be able to see the files in your directory, choose no indexing."

That doesn't really sound right to me.

So, I went into FTP and just moved files around manually. Sure enough when I went back to my browser nothing worked right and I just spent the last hour putting all the pieces back together again. I think the original site is toast (the content is still there in the subdirectory I moved it all too, but the nice wordpress theme is gone). At this point I just need to get the forum site up as the main page.

How about a simple line of html in the index file of the main directory that automatically forwards people on to the correct location? Kind of a workaround, but I just wanna get it running.


Redirect 301 is exactly what I was referring to (301 is permanent and 302 is temporary redirection). This is command line and you can do it if you know how. CPanel is just the GUI way.

In CPanel find Redirects under Domains, this should allow you to redirect default index directories to a different location. So if your default address is "koreantee.com" then your redirect URL can be "koreantee.com/forum".

You could always do a meta redirection in your main index file at root :

<meta http-equiv="refresh" content="1;
url=http://koreantee.com/forum/">

This is if you want to preserve the index directory for an intro page or something.
Back to top
View user's profile Send private message
stvwrd



Joined: 31 Mar 2005

PostPosted: Mon Aug 11, 2008 4:33 pm    Post subject: Reply with quote

Quote:
In CPanel find Redirects under Domains, this should allow you to redirect default index directories to a different location. So if your default address is "koreantee.com" then your redirect URL can be "koreantee.com/forum".


My God that was embarrasingly easy. I'm an idiot. THANKS!!!!
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


This page is maintained by the one and only Dave Sperling.
Contact Dave's ESL Cafe
Copyright © 2018 Dave Sperling. All Rights Reserved.

Powered by phpBB © 2001, 2002 phpBB Group

TEFL International Supports Dave's ESL Cafe
TEFL Courses, TESOL Course, English Teaching Jobs - TEFL International