Previously, I have
- Code: Select all
RewriteEngine On
RewriteRule ^([a-z]+)/?$ ?page=$1 [L]
Previously it worked on another server, running Apache 2.2.4. I have migrated to a Apache 2.2.3 and it stoped working.
Basically, the rule is to add a trailing slash to the end of the URL. However, when I tried it on the 2.2.4 it gives an Error 404
In my directory, the file exist without /
In another words, I want it to look like it's a directory on the browser.