How to replace id with linked db header in url using htaccess

[Related question: How to write an htaccess rewrite rule for a friendly seo url ]

I need to replace the section identifier with the associated name in the database.

example.com/section.php?id=5 

change to

example.com/section/travel

where id 5 has a header move in the database

Can i use htaccess? if so, what would htaccess look like.

thank.

+1
source share

All Articles