i would like to rewrite :
- Code: Select all
http://domain.com/premium/the/rest/of/the/path/to/my/page.shtml
to
- Code: Select all
http://domain.com/index.php?url=/the/rest/of/the/path/to/my/page.shtml
so i tried this :
- Code: Select all
RewriteRule ^/premium/(.*\.shtml)$ /index.php?url=$1 [L]
but have a 404 Error when i access to http://domain.com/premium/the/rest/of/t ... page.shtml
any idea?
regards.