KeyWord
02-12-2003, 15:49/03:49PM
Hello all.
I redesigned a site for a client.
Their old hosting was on a unix server with php.
The new site is on a windows platform with asp.
The client uses the old site for sharing files and
their htaccess file has quite a few things in it for
which I'm unsure the purpose.
When searching through MSN, you can find
old SERPS for pages that are on the old
site.
What I want to do is redirect all web page (http) requests
to the home page of the new site.
I also dont want to interfere with the functionality of
the existing .htaccess file. The current htaccess file has
commands such as "authname", "AuthUserFile", and more.
I want to add my line of code safely.
I noticed that there can be issues with using notepad to
make changes, as notepade may put in linebreaks or such.
So what I'm looking at is to add in this line:
Redirect permanent / http://www.newsite.com
Should I add this line to the beginning of the .htaccess file?
The current htaccess file has these thick black vertical bars when
I view it using notepad. What are those? Are they a problem?
Thoughts, advice, help is greatly appreciated!
I redesigned a site for a client.
Their old hosting was on a unix server with php.
The new site is on a windows platform with asp.
The client uses the old site for sharing files and
their htaccess file has quite a few things in it for
which I'm unsure the purpose.
When searching through MSN, you can find
old SERPS for pages that are on the old
site.
What I want to do is redirect all web page (http) requests
to the home page of the new site.
I also dont want to interfere with the functionality of
the existing .htaccess file. The current htaccess file has
commands such as "authname", "AuthUserFile", and more.
I want to add my line of code safely.
I noticed that there can be issues with using notepad to
make changes, as notepade may put in linebreaks or such.
So what I'm looking at is to add in this line:
Redirect permanent / http://www.newsite.com
Should I add this line to the beginning of the .htaccess file?
The current htaccess file has these thick black vertical bars when
I view it using notepad. What are those? Are they a problem?
Thoughts, advice, help is greatly appreciated!