FYI<br>There&#39;s a module for that.<br><br><a href="http://drupal.org/project/path_redirect">http://drupal.org/project/path_redirect</a><br><br clear="all">Ryan LeTulle<br><br><a href="http://www.bayousoft.com" target="_blank">bayousoft.com</a><br>

<a href="http://www.twitter.com/bayousoft" target="_blank">twitter.com/bayousoft</a><br><br><br><br>
<br><br><div class="gmail_quote">On Fri, Nov 26, 2010 at 5:59 AM, Pinbrook Gmail Support <span dir="ltr">&lt;<a href="mailto:pinbrook@gmail.com">pinbrook@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

just hoping the lack of replies means no-one can see anything wrong<br>
with the 301 lines so maybe there is something else in the htaccess<br>
that is causing the knock on effect. this really has me stumped!<br>
<br>
# Apache/PHP/Drupal settings:<br>
#<br>
<br>
# Protect files and directories from prying eyes.<br>
&lt;FilesMatch &quot;\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$&quot;&gt;<br>
  Order allow,deny<br>
&lt;/FilesMatch&gt;<br>
<br>
# Don&#39;t show directory listings for URLs which map to a directory.<br>
# Options -Indexes<br>
<br>
# Follow symbolic links in this directory.<br>
# Options +FollowSymLinks<br>
<br>
# Make Drupal handle any 404 errors.<br>
# ErrorDocument 404 /index.php<br>
<br>
# Force simple error message for requests for non-existent favicon.ico.<br>
&lt;Files favicon.ico&gt;<br>
  # There is no end quote below, for compatibility with Apache 1.3.<br>
  ErrorDocument 404 &quot;The requested file favicon.ico was not found.<br>
&lt;/Files&gt;<br>
<br>
# Set the default handler.<br>
DirectoryIndex index.php<br>
<br>
<br>
# Requires mod_expires to be enabled.<br>
&lt;IfModule mod_expires.c&gt;<br>
  # Enable expirations.<br>
  ExpiresActive On<br>
<br>
  # Cache all files for 2 weeks after access (A).<br>
  ExpiresDefault A1209600<br>
<br>
  &lt;FilesMatch \.php$&gt;<br>
    # Do not allow PHP scripts to be cached unless they explicitly send cache<br>
    # headers themselves. Otherwise all scripts would have to overwrite the<br>
    # headers set by mod_expires if they want another caching behavior. This may<br>
    # fail if an error occurs early in the bootstrap process, and it may cause<br>
    # problems if a non-Drupal PHP file is installed in a subdirectory.<br>
    ExpiresActive Off<br>
  &lt;/FilesMatch&gt;<br>
&lt;/IfModule&gt;<br>
<br>
# Various rewrite rules.<br>
&lt;IfModule mod_rewrite.c&gt;<br>
  RewriteEngine on<br>
<br>
  # If your site can be accessed both with and without the &#39;www.&#39; prefix, you<br>
  # can use one of the following settings to redirect users to your preferred<br>
  # URL, either WITH or WITHOUT the &#39;www.&#39; prefix. Choose ONLY one option:<br>
  #<br>
  # To redirect all users to access the site WITH the &#39;www.&#39; prefix,<br>
  # (<a href="http://example.com/." target="_blank">http://example.com/.</a>.. will be redirected to <a href="http://www.example.com/.." target="_blank">http://www.example.com/..</a>.)<br>
  # adapt and uncomment the following:<br>
  # RewriteCond %{HTTP_HOST} ^rannochsmokery\.<a href="http://co.uk" target="_blank">co.uk</a>$ [NC]<br>
  # RewriteRule ^(.*)$ <a href="http://www.rannochsmokery.co.uk/$1" target="_blank">http://www.rannochsmokery.co.uk/$1</a> [L,R=301]<br>
  #<br>
  # To redirect all users to access the site WITHOUT the &#39;www.&#39; prefix,<br>
  # (<a href="http://www.example.com/." target="_blank">http://www.example.com/.</a>.. will be redirected to <a href="http://example.com/.." target="_blank">http://example.com/..</a>.)<br>
  # uncomment and adapt the following:<br>
  # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]<br>
  # RewriteRule ^(.*)$ <a href="http://example.com/$1" target="_blank">http://example.com/$1</a> [L,R=301]<br>
<br>
  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a<br>
  # VirtualDocumentRoot and the rewrite rules are not working properly.<br>
  # For example if your site is at <a href="http://example.com/drupal" target="_blank">http://example.com/drupal</a> uncomment and<br>
  # modify the following line:<br>
  # RewriteBase /drupal<br>
  #<br>
  # If your site is running in a VirtualDocumentRoot at <a href="http://example.com/" target="_blank">http://example.com/</a>,<br>
  # uncomment the following line:<br>
  # RewriteBase /<br>
<br>
  # Rewrite URLs of the form &#39;x&#39; to the form &#39;index.php?q=x&#39;.<br>
  # RewriteCond %{REQUEST_FILENAME} !-f<br>
  # RewriteCond %{REQUEST_FILENAME} !-d<br>
  # RewriteCond %{REQUEST_URI} !=/favicon.ico<br>
  # RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]<br>
&lt;/IfModule&gt;<br>
<br>
# $Id: .htaccess,v 1.90.2.5 2010/02/02 07:25:22 dries Exp $<br>
<br>
# custom 301s added<br>
<div class="im"><br>
redirect 301 /acatalog/index.html<br>
</div><a href="http://www.taymouthcourtyard.co.uk/rannochsmokery/index.php" target="_blank">http://www.taymouthcourtyard.co.uk/rannochsmokery/index.php</a><br>
<div class="im">redirect 301 /acatalog/Smoked_Duck_Breast.html<br>
</div><a href="http://www.taymouthcourtyard.co.uk/rannochsmokery/smoked-meats-c-15.html" target="_blank">http://www.taymouthcourtyard.co.uk/rannochsmokery/smoked-meats-c-15.html</a><br>
<div><div></div><div class="h5"><br>
On 25 November 2010 18:39, Pinbrook Gmail Support &lt;<a href="mailto:pinbrook@gmail.com">pinbrook@gmail.com</a>&gt; wrote:<br>
&gt; I have recently launched a new site and want to do 301 redirects from<br>
&gt; the old pages to the new. So i am adding extra lines to the drupal<br>
&gt; htaccess file.<br>
&gt;<br>
&gt; But if i add<br>
&gt;<br>
&gt; redirect 301 /acatalog/index.html<br>
&gt; <a href="http://www.newdomain.co.uk/rannochsmokery/index.php" target="_blank">http://www.newdomain.co.uk/rannochsmokery/index.php</a><br>
&gt; redirect 301 /acatalog/Smoked_Duck_Breast.html<br>
&gt; <a href="http://www.newdomain.co.uk/rannochsmokery/smoked-meats-c-15.html" target="_blank">http://www.newdomain.co.uk/rannochsmokery/smoked-meats-c-15.html</a><br>
&gt;<br>
&gt; at the bottom of htacess all subsequent visits via a browser to any<br>
&gt; existing page on the site results in google saying &quot;oops, that page<br>
&gt; doesnt exsist&quot; - if i remove the 301s all pages are found<br>
&gt;<br>
&gt; What am i doing wrong in my htaccess please<br>
&gt;<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>