So im making a website in PHP With a MySQL Database for the Services & news Sections. Im going to use a mod_rewrite code to rewrite the id urls to seo friendly urls.
Now issue one is, how do i get the urls to pick the data from the title of the article in the database? so instead of being /news.php?id=1 it is /news/articlestitle
Also...
Now when i use the database it is going to create urls like news.php?id=1 and so on. When i set it to create a menu structure from the categories it is going to use the above style url for the urls. How do i get it to rewrite them to similar to above when it takes the data from the database? or does mod_rewrite do this for you?
Hmm im not very good at explaining this am i....
any help appreciated
J
Now issue one is, how do i get the urls to pick the data from the title of the article in the database? so instead of being /news.php?id=1 it is /news/articlestitle
Also...
Now when i use the database it is going to create urls like news.php?id=1 and so on. When i set it to create a menu structure from the categories it is going to use the above style url for the urls. How do i get it to rewrite them to similar to above when it takes the data from the database? or does mod_rewrite do this for you?
Hmm im not very good at explaining this am i....
any help appreciated
J