| 11:43 am on May 7, 2003 (gmt 0)|
Short answer - no, it is not possible for a search engine to tell that you are using mod_rewrite.
| 11:54 am on May 7, 2003 (gmt 0)|
Thanks a lot - puts my mind at ease!
| 2:07 pm on May 7, 2003 (gmt 0)|
Hi Just to check, using this:
RewriteRule .*\.html$ keywords.php
should mean the 'redirect' will be invisible to the SE's?
| 2:17 pm on May 7, 2003 (gmt 0)|
I'd suggest using
RewriteRule \.html$ /keywords.php [L]
The [L] flag stops further rewriting, which is usually the desired case, and there is no need to start an unachored pattern with ".*"
As long as you use a local path as the target of the rewrite, and do not use the [R] flag, the rewrite will be transparent to all user-agents.
| 2:56 pm on May 7, 2003 (gmt 0)|
Many thanks jdMorgan :)
| 6:26 pm on May 7, 2003 (gmt 0)|
These rewrite rules are mind bending.
Does anyone know how I could write a rule so that
when this is requested:
this is served:
I can't for the life of me figure it out.
| 6:36 pm on May 7, 2003 (gmt 0)|
Have you done your homework? - Introduction to mod_rewrite [webmasterworld.com]
For use in .htaccess:
RewriteRule ^(.*)\.pl$ /cgi-bin/search.pl?q=$1 [L]
| 6:48 pm on May 7, 2003 (gmt 0)|
Thanks for the link - very good post! Cheers Jim