Znupi
04-18-2007, 01:42 PM
Ok, so I never wrote a rewrite rule in my life. I know they use pattern matching but have no idea of their syntax. All I know (although I'm not so sure about it) is that you put rewrite rules in a file you call .htaccess and place that in the folder you want the rules to be applied in.
Right now I'm working on a site that uses this kind of links: http://example.com/index.php/subpage/another/lastone . The link parsing is done in PHP but I need a rewrite rule to remove 'index.php' from the address, so the links will become http://example.com/subpage/another/lastone . Anyone know how this could be achieved? Or, any good tutorials about it? I love tutorials :).
Right now I'm working on a site that uses this kind of links: http://example.com/index.php/subpage/another/lastone . The link parsing is done in PHP but I need a rewrite rule to remove 'index.php' from the address, so the links will become http://example.com/subpage/another/lastone . Anyone know how this could be achieved? Or, any good tutorials about it? I love tutorials :).