need redirect 301 help

Status
Not open for further replies.

mudger

New member
Mar 29, 2007
139
1
0
I am trying to make a redirect site so that when someone goes to Example Web Page they are redirected to blockbuster total access through my affiliate link.

I put this code in an .htaccess file and uploaded to my root.

Redirect 301 / http://www.new-site.com/

and changed "new-site" with my affiliate link

when I go to my site it gives me an internal server error 500


dont know what I'm doing wrong.

:anon.sml:
 


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.newdomain.com/$1 [R=301,L]
REPLACE www.newdomain.com in the above code with your actual domain name.
 
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.newdomain.com/$1 [R=301,L]

Please REPLACE www . newdomain . com in the above code with your actual domain name.
 
this is what I use for a 301 redirect, its simple sweat and works....

Place the following in your .htaccess file
Code:
redirect 301                       /apageinsite                        http://mysite.com/pageYourRedirectingTo.php or html or whatever
 
Get a Free Software to Create 301 Redirect Code

I have a free software which can be used to create the code required for developing a 301 Redirect using your .htaccess file.

Since I am new here, I cant post the url but you can follow my signature to reach the resource. Also I have a tutorial that tells you how to create and use a .htaccess file.
 
Status
Not open for further replies.