re new site

I am currently uploading my new test site to a folder on my current website <www.proserver.com/newsite> but now want it to go live, if I point the uploads to <www.proserver.com> it will override some files with the same name in my current site, I would like to keep their integrity intact

What are my options?, how would I go about making <www.proserver.com/newsite> the opening page if someone typed in www.proserver.com

Thanks

Scott


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Scott…

I believe that some web hosts will let you specify the name of the “index” page. ie. change it to “welcome” or “home” or anything I suppose.

I seem to remember running into this problem once myself.

You could also access your files using FTP software and put your old site into a new folder, then put your new new site in the top directory.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Using a 301 redirect I think is the way to go for this.

Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.yourdomain.com/newsite/$1 [R=301,L]

Please REPLACE www.yourdomain.com in the above code with your actual domain name.

In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.

Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.

But if you are not comfortable with this…

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options