Forum Moderators: mack
RewriteRule .* http://www.example.com/robots.txt [L]
RewriteCond %{REQUEST_URI} !/robots\.txt$
RewriteCond %{REQUEST_URI} !^/robots\.txt$
RewriteRule ^cats\.html http://www.example.com/pets.html [R=301,L] www.example.com/cats.html is requested, tell the browser or bot to make a new request for www.example.com/pets. The address bar will change to the new URL when the browser makes a new request for www.example.com/pets. RewriteRule ^pets$ /pets.html [L] www.example.com/pets is requested show the user the content of the file /pets.html and leave the address bar showing the same URL the user originally requested.