I generally can do redirects from missing files and other similar redirects. Again, that works.
But where I completely fall apart is with Friendly URLs. Absolutely nothing happens when I use the seemingly simple code such as what follows:
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^test/([0-9]+)$ testpage.php?id=$1 [QSA,L]
I have tried the code above with and without the slash in front of testpage.php, but absolutely nothing happens in either case. I believe all of the required settings are enabled, but I do not get the desired output which is a friendly link in the format:
http://www.mydomain.com/test/1
from the URL:
http://www.mydomain.com/testpage.php?id=1
Can anyone help?