Web Analytics Made Easy -
StatCounter Disabling direct url - CodingForum


No announcement yet.

Disabling direct url

  • Filter
  • Time
  • Show
Clear All
new posts

  • Disabling direct url

    I have no idea what it's called so I'll say this
    Is there a way to disable direct url? Like you cant go to a page by typing the url. You have to go by clicking on a link. I'm not even sure if this is HTML

  • #2
    Why would you need this? Are you trying to secure your pages, like a online store or something?
    This is not HTML / CSS type of thing. You can use sessions for that matter, so anybody who would try to access this link would be sent to log in page, or window would pop up asking for a password and user name. You can do that using php, .asp or .htaccess for example.
    I don't think you can disable direct url's, because links use url's Basically if you click on the link - the same thing happens as when you type it in and push enter.
    There are way to have one link, so that page content will be generated differently under just one link.
    Sorry if I am confusing, but to do that you will probably need to use server side scripting language like php. Can you describe what is for so that we can give you a better suggestion.
    Last edited by RomanTaylor; Apr 8, 2009, 03:24 AM.
    Validate CSS
    Try it
    Learn CSS