Forum Moderators: phranque
I am trying to rewrite the address as follows:
RewriteRule ^([a-zA-Z.]+)/?$ index.php?req=$1 [L]
Does anybody know why it is dropped and how to fix it?
You are not free to just 'invent' any URLs you like. There are restrictions in character-set usage and syntax with which you must comply for proper client-server interaction and optimal search ranking. See RFC2396 - Uniform Resource Identifiers (URI): Generic Syntax [faqs.org] for more information.
Jim
The links on your pages also need to point to the new URLs.
I posted a detailed example yesterday, and again the day before, which bear detailed study to understand all the steps, and there are more examples in the reference thread pinned at the top of this forum.