I want to complete a simple task, but I cannot seem to get the right syntax. I'll apologize ahead of time for my ignorance.
I want a 301 redirect from http://bossconstruction.com/concrete_contractors_peachtree_city.htm
I have attempted to do this with:
RewriteRule /concrete_contractors_peachtree_city\.htm /keyword/concrete-contractors-peachtree-city.htm
but no luck. Tried the full address to escape any directory confusion, since I have several domains that point to different directories:
RewriteCond Host: http\://bossconstruction\.com/concrete_contractors_peachtree_city\.htm
RewriteRule (.*) http\://bossconstruction\.com/keyword/concrete-contractors-peachtree-city\.htm [I,RP]
but no luck. Perhaps my problem is in the directory structure. The domain bossconstruction.com points to a folder called bossconstruction.com. so I tried this:
RewriteRule bossconstruction.com/concrete_contractors_peachtree_city\.htm bossconstruction.com/keyword/concrete-contractors-peachtree-city.htm
I'm fairly sure that there were several syntax problems there. Does anyone have any suggestions? Any help is appreciated.