html - PHP subdirectories without folders -


i'm wondering if possible convert example:

www.news.com/news.php www.news.com/post.php?id=5 

to this:

www.news.com/news www.news.com/news/post.php?id=6 

without creating folders each file , how can that.

thanks

you sure can. it's not function of php though, you'd better off doing @ server level.

if you're using apache, take @ "apache rewrites". you'd creating "htaccess" file so.

start here , create new question if run in specific problems: http://httpd.apache.org/docs/2.2/howto/htaccess.html


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -