<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Yeah, ended up putting the
Drupal 6 .htaccess rules back.<br>
<br>
The cause of this problem is the change to the .htaccess that was
made for Drupal 7. I understand the reason for the change as they
work when you have a multisite installation, then hard coded
domains would not work. However, it also created this problem.<br>
<br>
I have filed <a class="moz-txt-link-freetext" href="http://drupal.org/node/1411602">http://drupal.org/node/1411602</a> for Drupal Core so it
hopefully can be fixed in a future point release.<br>
<br>
/thomas<br>
<br>
</font>
<div class="moz-signature"><small><font face="Helvetica, Arial,
sans-serif">Thomas Svenson<br>
<a href="http://www.tsvenson.com">My Blog</a> | <a
href="http://www.twitter.com/tsvenson">Twitter</a> | <a
href="http://gplus.to/tsvenson">Google+</a></font>
</small></div>
<br>
On 20/01/2012 16:04, Jeff Brown wrote:
<blockquote class=" cite"
id="mid_28CE8DDC-4FB1-40C3-8D63-E6030DB9E917_wildcoast_com"
cite="mid:28CE8DDC-4FB1-40C3-8D63-E6030DB9E917@wildcoast.com"
type="cite"><br>
<div>
<div>On 20 Jan 2012, at 4:19 PM, Thomas Svenson wrote:</div>
<br class="Apple-interchange-newline">
<blockquote class=" cite" id="Cite_0" type="cite">
<div bgcolor="#FFFFFF" text="#000000"> <font face="Helvetica,
Arial, sans-serif">Hi,<br>
<br>
Discovered a weird issue with one of my Drupal 7 sites
today.<br>
<br>
I am using the default .htaccess rewrite rule to redirect
from example.com to <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="http://www.example.com">www.example.com</a> and it
works just fine.<br>
<br>
Now though I have discovered that google has some SEPRs
for the site to <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="http://www.ww.example.com">www.ww.example.com</a>.
They work just fine and the page opens, but it also means
the visitor gets stuck with <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="http://www.ww.example.com">www.ww.example.com</a>
for every internal link on the whole site.</font></div>
</blockquote>
</div>
<div>
<blockquote class=" cite" id="Cite_1" type="cite">
<div bgcolor="#FFFFFF" text="#000000"><font face="Helvetica,
Arial, sans-serif"> How can I catch this in the .htaccess
rewrite rule?<br>
</font></div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>RewriteCond %{HTTP_HOST} ^example\.com$ [NC]</div>
<div>RewriteRule ^(.*)$ <a moz-do-not-send="true"
href="http://www.example.com/$1">http://www.example.com/$1</a>
[L,R=301]</div>
<div><br>
</div>
<div>RewriteCond %{HTTP_HOST} ^www\.ww\.example\.com$ [NC]</div>
<div>RewriteRule ^(.*)$ <a moz-do-not-send="true"
href="http://www.example.com/$1">http://www.example.com/$1</a>
[L,R=301]</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
</body>
</html>