Jump to content

Some Special URL format such as Wordpress


mostafatalebi

Recommended Posts

Hello every body

 

I have been thinking of URL format of some websites that looks strange to me, as their filing structure (url relects path stracture) is something else. Let me give you an example:

A wordpress-made site's url of a post is like this

 

http://example.com/blog/?p=63 (why we have ?=p63, can anybody please explain? I know 63 has something to do with id or numbering, my question is around the way it is placed. usually we have file name there)

 

 

or a website has a url like this:

www.example.com/2012/cat/game/sport/123456789.php  (is the url is really like the folders? for instance there really are all of these folders?

 

 

Thanks in advance

I have been thinking of URL format of some websites that looks strange to me, as their filing structure (url relects path stracture) is something else. Let me give you an example:

A wordpress-made site's url of a post is like this

 

http://example.com/blog/?p=63 (why we have ?=p63, can anybody please explain? I know 63 has something to do with id or numbering, my question is around the way it is placed. usually we have file name there)

That's just a regular query string. 63 would presumably be the ID number of the post to display.

 

or a website has a url like this:

www.example.com/2012/cat/game/sport/123456789.php  (is the url is really like the folders? for instance there really are all of these folders?

Those are definitely not real folders.

 

URL rewriting

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.