hide id with mod_rewrite

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Locked
dotphp
Forum Commoner
Posts: 25
Joined: Sat Nov 10, 2007 8:03 am

hide id with mod_rewrite

Post by dotphp »

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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: hide id with mod_rewrite

Post by John Cartwright »

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

Locked.
Locked