PDA

View Full Version : ReWrite with .htaccess


Chris Gwynne
Thu 20th Nov '03, 8:29pm
How would I go about using .htaccess file to differently display my site links.

For example, I currently have a page url that is as follows: http://www.mysite.com/index.php?page=portfolio.

What I want to happen is this: http://www.mysite.com/portfolio/

Now I know that using the ReWrite function I believe is able to do this, and although I've read some articles and tutorials, they don't really explain how to do it.

If anyone has any ideas/code/tutorials, It'd be most appreciated. :)


Regards,
Chris

Dean C
Fri 21st Nov '03, 11:55am
There's a good tutorial on sitepoint :)

qxh
Fri 21st Nov '03, 1:15pm
I tried to reply earlier although Mozilla exited and I forgot ;) I was about to say there are tutorials on sitepoint, and failing that post in the server configuration forum (www.sitepointforums.com) and wait for pippo to help. :)

Chris Gwynne
Fri 21st Nov '03, 4:13pm
Thanks for the help. Solution found. :)