URLs with slashes (like Digg)

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
tdlrali
Forum Newbie
Posts: 2
Joined: Tue Oct 17, 2006 7:01 pm

URLs with slashes (like Digg)

Post by tdlrali »

First off, sorry for my confusing title, I couldn't come up with anything that would explain what I mean...

Ok, here's my question:
Some sites like digg (http://www.digg.com) have urls like this: http://digg.com/general_sciences/How_to ... ucid_Dream
Is everything after the first slash processed by a script, or is that really just a file (without extension) within a folder?
If it is the first, how would one do that?

Thanks,
tdlrali
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Moved to Miscellaneous.

Searching our forum with the keyword "mod rewrite" should get you started.
tdlrali
Forum Newbie
Posts: 2
Joined: Tue Oct 17, 2006 7:01 pm

Post by tdlrali »

Thanks a lot! :)

I would have searched, but I had no clue what to search for..
Post Reply