
Originally Posted by
agmccall
Hello All
I have a question about a .htaccess file for 301 redirects. At this time we have about 75 crawl errors and I would like to fix them with 301 redirects. I have to do this myself. I can not use the company that did our website, or I should say, I will not use them.
So, here is the first few lines of our .htaccess file
RewriteEngine on
RewriteBase /
# RewriteRule (.*).htm$ /.cfm
this is an example of a 301 redirect currently in our file
RewriteRule Acer-CB2-Putter_p_3.html /product/acer-cb2-putter-190.cfm [L,R=301]
Next is a crawl error and url I would like to redirect:
http://www.crosshairgolf.com/Acer-XP-905-Irons_p_24.html (crawl error)
Redirect to:
http://www.crosshairgolf.com/department/golf-iron-set-4.cfm
So, for me to add this to the .htaccess file would it be as follows
rewriterule Acer-XP-905-Irons_p_24.html /department/golf-iron-set-4.cfm [L,R=301]
Does this seem correct to you
Thank You
Al
A regular 301 redirect would be:
redirect 301 /Acer-XP-905-Irons_p_24.html http://www.crosshairgolf.com/department/golf-iron-set-4.cfm