PHP Developers Network
http://forums.devnetwork.net/

hide id with mod_rewrite
http://forums.devnetwork.net/viewtopic.php?f=30&t=132511
Page 1 of 1

Author:  dotphp [ Wed Nov 02, 2011 7:27 am ]
Post subject:  hide id with mod_rewrite

Hi.

I have a link like this:
index.php?page=article-title&id=12

article-title and id are dynamical

How can I show in my address bar only: http://www.website.com/article-title/
not http://www.website.com/article-title/12/

What I must change in htaccess for this.

Thanks

Author:  John Cartwright [ Wed Nov 02, 2011 3:59 pm ]
Post subject:  Re: hide id with mod_rewrite

Duplicate of viewtopic.php?f=1&t=132512

Locked.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/