|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
To kind of add to the mystery, it does in fact redirect to the correct website (www.continentalwindowfashions.com) however, the url still says ambrosiawindows.com.
But the site is getting mirrored. I can see this in google webmaster central as we have several incoming links coming from ambrosiawindows.com. And all of the pages that webmaster central shows as links coming from ambrosiawindows.com are actually pages on www.continentalwindowfashions.com. This is getting really confusing... DaK |
|
|||
|
Quote:
Code:
Options Indexes +FollowSymLinks Includes
AddType application/x-httpd-CGI .CGI
AddType text/x-server-parsed-html .shtml .htm .html
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.ambrosiawindows\.com$ [NC]
RewriteRule .? http://www.ambrosiawindows.com%{REQUEST_URI} [R=301,L]
|
|
|||
|
Quote:
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |