Forum Moderators: open
all in all, this can be very fast, because it's local...
just remember that all .htaccess files at the current level and above are processed for each individual request - e.g.,
if you have
/pages/category/timeframe/items/page.xxx
the following .htaccess files will be looked at, in the follwing order:
/.htaccess
/pages/.htaccess
/pages/category/.htaccess
/pages/category/timeframe/.htaccess
/pages/category/timeframe/items/.htaccess
for ANY request within that directory.
hth
In addition to what TeofenGL says, remember that you may not need a redirect for every URL; If they have some common pattern, one redirect can be used to handle multiple URLs. For example, you can redirect all files in a subdirectory with one redirect.
My .htaccess has hit 26kB in the past, and it made no visible difference in server performance.
Jim
Be sure to read Marcia`s WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com] post.
Nice explanation of how htaccess files work and a good thing to keep in mind. Although most people have no choice but to use htaccess files for a lack of root access. Using RewriteRule [httpd.apache.org]s in htaccess is a lot slower than in htaccess files as well. So if you have root access disable htaccess file altogether.
Having 200 Redirect [httpd.apache.org] directives shouldn´t be a problem.
Andreas