Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- how to 301 redirect pages within folders?


Lorel - 1:37 pm on Aug 12, 2012 (gmt 0)


I was using fake domain/category/keyword names.

I have them working now except for one line of redirects that takes down the whole site and I can't see anything wrong with it. I"ve checked and double checked the old/new files and the spelling is correct. I even retyped the rule to make sure there wasn't strange code in it.

Can someone tell me why this line takes out the whole website? I only changed the domain on this one:

RewriteRule ^services/anesthesia-free-pet-teeth-cleaning-sacramento/$
http://www.example.com/services-anesthesia-free-pet-teeth-cleaning.html [R=301,L]

I get an "internal server error" when this line is in there but everything works fine if I take it back out.


Thread source:: http://www.webmasterworld.com/apache/4483912.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com