I wondered if anyone could help me this. I have a php file that displays some news articles from a db. When it displays a news article it is e.g. index.php?news=186 But I would prefer to instead have it look like static, in other words. Folder based URL Scheme. So instead of index.php?news=186 I would like it to look like this www.domain.com/news/186/news headline How can I get that?
You should read about Apache mod_rewrite. It'll help you a lot. TechBabu Don't just make a website: Make an impact
Hey You need something like in your httpd.conf RewriteEngine on RewriteLog logs/rewrite_log RewriteLogLevel 3 RewriteRule /?news=186 /news/186/news [R] Code (markup): TechBabu Don't just make a website: Make an impact