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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.