ASCiiDiTY Posted May 7, 2011 Share Posted May 7, 2011 Hi, cananybody tell me the mod rewrite code to make a url like this: http://www.blahblah.co.uk/nfo/index.php?file=blahblah.nfo Into a url like either of these: http://www.blahblah.co.uk/nfo/blahblah.png http://www.blahblah.co.uk/nfo/file/blahblah.png Any help is much appreciated, I have been struggling with this all day. Quote Link to comment https://forums.phpfreaks.com/topic/235793-mod-rewrite-help/ Share on other sites More sharing options...
Zurev Posted May 7, 2011 Share Posted May 7, 2011 What rules have you tried? Have you taken a look into some guides, particularly: http://net.tutsplus.com/tutorials/other/a-deeper-look-at-mod_rewrite-for-apache/ Quote Link to comment https://forums.phpfreaks.com/topic/235793-mod-rewrite-help/#findComment-1212027 Share on other sites More sharing options...
ASCiiDiTY Posted May 7, 2011 Author Share Posted May 7, 2011 I haven't actually tried any because I read some tutorials like the one you posted and still couldn't work it out :-/ Quote Link to comment https://forums.phpfreaks.com/topic/235793-mod-rewrite-help/#findComment-1212028 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.