Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Disabling direct url
04-08-2009, 06:27 AM #1
- Join Date
- Apr 2009
- Thanked 0 Times in 0 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
04-08-2009, 08:21 AM #2
- Join Date
- Mar 2009
- Troutdale, OR
- Thanked 6 Times in 6 Posts
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.