my website domain needs changed

Soldato
Joined
1 Dec 2003
Posts
3,526
helloo


i've created a website with wordpress. i put this in a new directory in the 'www' folder of my web hosting site

i also left my old site live while creating the new one. this was an old site created with dreamweaver, therefore its just lots of different files but stored directly into the 'www' folder

i now need to take the URL from my old site and attach it to my new site

but what happens with my old site, how do i take it off line. do i just remove all the files from the 'www' folder that relate to it?

thanks
 
helloo


i've created a website with wordpress. i put this in a new directory in the 'www' folder of my web hosting site

i also left my old site live while creating the new one. this was an old site created with dreamweaver, therefore its just lots of different files but stored directly into the 'www' folder

i now need to take the URL from my old site and attach it to my new site

but what happens with my old site, how do i take it off line. do i just remove all the files from the 'www' folder that relate to it?

thanks

from my understanding the 'www' looks for the index.html file, so whatever site uses that will be the one that loads without putting something after the '.co*/' so basically, if you dont want your old site to be accessable, then delete all files relating to it and just make sure that the index.html (what whatever the lead in page is) is related to the new site and thats it.
 
Sounds like you need to get rid of all the old files( create a new folder in the www folder and put all the old files in there for safekeeping).

Once the www folder is empty apart from the old site files in a single folder, upload all of the files from your wordpress sites main folder into the www folder.

You will have to change a few rows in the wp_options table but after that, you should be fine.

Your final folder would look like so

www/
old_site
all of the files from the wordpress folder....
 
lets say you made a new folder for your new site at www.mysite.com/wordpress
tehn first remove all files and folders that are not in that /wordpress folder.

I presume you know how to use an ftp program. so do this..
1. login to your wordpress admin and change any reference to /mysite.com/wordpress to mysite.com ( remove all reference to /wordpress.
2. open your FTp program and move the files and sub folders from within the /wordpress folder to your "public_html" folder or the root folder.

(inside the wordpress folder will be either an index.php or home.php file which the browser will look for first.)

That should be it :)
 
BTW, do-not remove the folder called cgi-bin, this is for scipts etc, you may never need it, but just in case:)
What FTYP program do you use ?
 
Back
Top Bottom