View Full Version : Hep with mod rewrite redirect

08-17-2007, 09:26 PM
I'm trying to redirect a url like domain.com/blog/coding-demos to domain/blog/coding-demos/ I need the slash added for a class to function correctly. The problem is coding-demos isn't a real directory it is through a rewrite.

I tried RewriteRule ^blog/([A-Za-z0-9-]+)$ blog/$1/ [R=301, L] but that caused a 500 error. Just wondering if someone can help.

08-18-2007, 05:02 AM

More information about this error may be available in the server error log so just check out your error log.