Dynamic URLs with mod_rewrite and Dynamic Meta description and page title, how do they do it?

They have: 38 posts

Joined: Jun 2008

Hey all,

Been looking through the web to see if I can find these answers and I have only come up with a few.

Basically I have a website with articles tutorials and a forum. each page currently looks like this

$pageTitle = "This is the page title";
include('includes/header.php');

//Content loads here

include('includes/footer.php');

What I want to be able to do, and I have seen it done a million times, is change the page title depending on what content is loaded. Change the meta description and tags depending on what content is loaded and also display the article names etc in the URL with mod_rewrite instead of the ID etc.

Much like how this site works? Could anyone point me to tutorials or give me an explanation of how to do this? That would be awesome. Any help greatly appreciated.

Thanks a lot.

S33ker.