(Apache, .htaccess)
I want to use mod rewrite to redirect a url. I have no experience with it and can't get my head around online tutorials for it.
How would I go from:
http://www.hbgames.tk/chan/x
To:
http://www.hbgames.tk/chan/board.php?b=x
Preferably I would also like to change
http://www.hbgames.tk/chan/x/y
To:
http://www.hbgames.tk/chan/board.php?b=x&p=y
Though the first should still work too, and with a trailing /.
I want to use mod rewrite to redirect a url. I have no experience with it and can't get my head around online tutorials for it.
How would I go from:
http://www.hbgames.tk/chan/x
To:
http://www.hbgames.tk/chan/board.php?b=x
Preferably I would also like to change
http://www.hbgames.tk/chan/x/y
To:
http://www.hbgames.tk/chan/board.php?b=x&p=y
Though the first should still work too, and with a trailing /.