Click to See Complete Forum and Search --> : .htaccess 404 error GET replacement, is it slow?


Drakim
10-01-2008, 08:40 AM
For those of you who don't know the trick, by using the .htaccess make a custom 404 error page, we can create dynamic and nice urls instead of ugly GETs.

examples:

Standard GET setup:
www.mysite.com/?category=javascript&post=events

404 error setup:
www.mysite.com/javascript/events

However, after thinking over it a little, I started wondering if the 404 error way of doing this is slower. I mean, for every time you access a page, it doesn't simply get the page for you, but must go though the .htaccess and 404 error, and then parse the url string, before it can actually start getting the page you are supposed to access.

Am I wrong in this? Is there any other aspects of this method that could be negative?

Drakim
10-01-2008, 09:33 AM
Arg, I just learned about the RewriteRule.

I feel really foolish now. >>

Please ignore this thread.