Hello all,
I'm having a great difficulty understanding how to use the url rewrite capability of htaccess.. this is what I would like to do:
Convert the user typed url: www.something.com/about/
Into: www.something.com/index.php?p=about
With much thanks, could anybody tell me how I could do this?
Also, while we're discussing htaccess, I am wondering if its possible to redirect any 404 error..or any error for that matter to the homepage with errors.. (www.something.com/index.php?p=errors)
Thanks guys, you're great!
I'm having a great difficulty understanding how to use the url rewrite capability of htaccess.. this is what I would like to do:
Convert the user typed url: www.something.com/about/
Into: www.something.com/index.php?p=about
With much thanks, could anybody tell me how I could do this?
Also, while we're discussing htaccess, I am wondering if its possible to redirect any 404 error..or any error for that matter to the homepage with errors.. (www.something.com/index.php?p=errors)
Thanks guys, you're great!