htaccess 301 redirect not working

KateGKateG subscriber Posts: 12
I am trying now to redirect code from www.shapeacakeclay.com to www.shapeacake.com.  On another post Roland had suggested using htaccess 301 redirect. 
 
I created a file called ".htaccess" in notepad and tried each of the following sets of code:
 
RewriteEngine ON
RewriteRule ^(.*)$ http://www.shapeacake.com/$1 [R=301,L]
 
or
 
Redirect 301 /index.html http://www.shapeacake.com/index.html
 
Then I uploaded it into my main directory.  The way my ftp access is set up is that my main directory is for the shapeacakeclay account and then there`s a folder for the shapeacake clay account, which avoided me having to pay twice as much for the hosting.  I believe I only need the htaccess code in the main directory (and not the shapeacake sub-directory), though I tried including in both and it didn`t make a difference.
 
Anyway, it`s not working.  When I type in the shapeacakeclay site, it doesn`t redirect to the shapeacake site.  Any suggestions?  Thanks!
Kate

Comments

Sign In or Register to comment.