htaccess rewriterule

Posted by user322731 on Stack Overflow See other posts from Stack Overflow or by user322731
Published on 2010-04-21T21:59:07Z Indexed on 2010/04/21 22:03 UTC
Read the original article Hit count: 281

Filed under:
|

I currently have this rule where I want the page to just render my static content.

RewriteRule ^videos\/coverage\/view\/236159\-([0-9a-zA-Z-]+) http: //website.com/static/236159.html [NC]

However, this doesn't work. It works with a L tag but then the URL is different:

RewriteRule ^videos\/coverage\/view\/236159\-([0-9a-zA-Z-]+) http: //website.com/static/236159.html [L, NC]

My goal is to keep the URL the same but the content different. Can anyone point out to what flags are needed in order to get this working properly?

Thanks!

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about mod-rewrite