Baving Posted November 9, 2006 Share Posted November 9, 2006 Hello,I have seen some websites with page links such as: -news/uk/news/world/user/home/guide/technology/I persume it is some sort navigation system, and they don't create folders or anything themselves.Is there anyone which knows anything about this type of navigation?Thanks Link to comment https://forums.phpfreaks.com/topic/26713-url-help/ Share on other sites More sharing options...
blear Posted November 9, 2006 Share Posted November 9, 2006 Those urls refer to locations on the webserver which holds the web content you are attempting to access. So, the webpage http://www.notadomain.net/news/uk/index.html is located on some server in the directory DOCUMENT_ROOT/news/uk/Now, if the HTML link only has "news/uk/" then it is linking to a directory relative to the present working directory. In other words, if you saw a link "news/uk/" on the site http://www.notadomain.net/ the link would take you to http://www.notadomain.net/news/uk/ where the index.xxx file would be loaded, or a directory browser if that is accessible. Link to comment https://forums.phpfreaks.com/topic/26713-url-help/#findComment-122197 Share on other sites More sharing options...
Monkeymatt Posted November 9, 2006 Share Posted November 9, 2006 blear - He said "they don't create folders or anything themselves"This can be done with mod_rewrite to turn the url into variables for PHP - look at mod_rewrite, there's even a forum here to explore it.Monkeymatt Link to comment https://forums.phpfreaks.com/topic/26713-url-help/#findComment-122239 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.