Hi there. I'm trying to redirect all http://www.mydomain.com/whatever-here to http://www.mydomain.com/writeup.php?title=whatever-here I taught it should be very simple as follows, but didn't work: Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*)$ /writeup.php?title=$1 Code (markup): what do you think?
this should work Options +FollowSymLinks RewriteEngine On RewriteRule ^(.*)/?$ writeup.php?title=$1 Code (markup):
Why would you put a trailing slash at your rewrite rule ? I guess this would work : RewriteRule ^(.*)$ writeup.php?title=$1
Tracing back from apache logs, I found out that httpd.conf doesn't support ReWriteModule, so I fixed it and worked properly. For the ones who may live the same problem in the future, I write this here. Thanks both of you.