Thread: .htaccess hell
View Single Post
  #1 (permalink)  
Old 03-24-2007, 12:13 AM
dak888 dak888 is offline
WebProWorld Member
 

Join Date: Nov 2006
Posts: 74
dak888 RepRank 0
Default .htaccess hell

Looks like the best place for this post.

We have a url, www.ambrosiawindows.com.

After a buy out, the url was redirected to www.continentalwindowfashions (the new company) via the good ol' .htaccess file. I've done many redirects and even have a few other url's redirecting to this new domain.

Here is the problem, if you type in www.ambrosiawindows.com, if resolves perfectly to www.continentalwindowfashions.com. However, type in just ambrosiawindows.com (without the www) and guess what, it doesn't redirect. I've tried just about every form of redirecting this url that I can but I've run out of ideas. Here is the current code from the .htaccess:

Options Indexes FollowSymLinks Includes
AddType application/x-httpd-CGI .CGI
AddType text/x-server-parsed-html .shtml .htm .html

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^ambrosiawindows.com
RewriteRule (.*) http://www.ambrosiawindows.com/$1 [R=301,L]

redirect 301 / http://www.continentalwindowfashions.com/

Any help would be appreciated. Right now our site is sitting out there in duplicate content land and we would like to get this url redirected as soon as possible!!!

Thanks,

DaK
Reply With Quote