I asked a question a while ago to sort out my directory structure and you all solved my problem (Thanks!) but im now changing this site to another server and rewrite rule does not work. I cannot find the problem. I sent a support ticked to the hosting and they said:
If that statement doesnt work then it will be either incorrect, or not designed to work with the web server we are running. We use Apache version 2.2
The manual for mod_rewrite for apache 2.2 is here...
I have looked over and over this manual and I dont see what the difference is for my rule!
I want to get the text after the url/bank/
and send it to url/bank/index.php
as a parameter called title
! This rule does work on my other server space so I know that the rule does work!
The rule is:
RewriteEngine on
RewriteRule ^bank/([^/.]+)/?$ bank/index.php?title=$1 [L]
Any pointers would be great!
Thanks Ian