Forum Moderators: mack

Message Too Old, No Replies

Permanent 301 Redirect Info Needed

Permanent 301 Redirect Info Needed

         

ford94cobra

5:05 pm on Mar 6, 2004 (gmt 0)

10+ Year Member



I am trying to implement a 301 permanent redirect on my server. It is an Apache Server and below is the Syntax that i currently have in my .htaccess file. Can someone please show me how i can implement the permanent 301 technique to allow me to redirect http://www.example.tv to redirect to http://www.example.com if needed they are both index.htm pages. Any help would be greatly appreciated.

# -frontpage-

IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.example.tv
AuthUserFile /www/example/_vti_pvt/service.pwd
AuthGroupFile /www/example/_vti_pvt/service.grp

[edited by: DaveAtIFG at 5:14 am (utc) on Mar. 29, 2004]

[edited by: engine at 9:21 am (utc) on Mar. 30, 2004]

pmkpmk

8:27 pm on Mar 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I usually do this in the .htaccess file:

RedirectPermanent /old/url.html h**p://www.newsite.com/new/url.html

Exchange the "h**p" for "http" of course...