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

Edited by mostafatalebi
Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.