Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-05-2006, 07:45 AM how can i
Junior Talker

Posts: 4
Trades: 0
how can i prevent direct access to subpage by typing address directly in browser and redirect user to index page?
Example: www.regreg.com/regreg/regreg.htm -> www.regreg.com
tnx
unregistred is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-05-2006, 08:14 AM Re: how can i
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you'll need some serverside code and use sessions (assuming you want to eventually allow user to access that page).

bearing in mind that if this is a commercial site, visitor are very likely to leave if they cannot reach the page they wanted from a search engine.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-05-2006, 12:11 PM Re: how can i
Junior Talker

Posts: 4
Trades: 0
This will not help me… anyway tnx
unregistred is offline
Reply With Quote
View Public Profile
 
Old 03-05-2006, 12:57 PM Re: how can i
Super Talker

Posts: 144
Trades: 0
well, I'm not following entirely, but would a META refresh be in order?

<meta http-equiv="refresh" content="0; url=http://www.myurl.com">
__________________
create.vibe

Please login or register to view this content. Registration is FREE
createvibe.com is offline
Reply With Quote
View Public Profile Visit createvibe.com's homepage!
 
Old 03-05-2006, 01:47 PM Re: how can i
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by unregistred
This will not help me… anyway tnx
Maybe explain exactly what you want to do in that case.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-05-2006, 02:02 PM Re: how can i
CobraHosts's Avatar
Skilled Talker

Posts: 95
Location: Florida
Trades: 0
Quote:
Originally Posted by chrishirst
you'll need some serverside code and use sessions (assuming you want to eventually allow user to access that page).

I think chrishirst is right on the money here. You will need some type of server side script to be able to distinguish between the people you want to view the page and people you don't want viewing the page. Maybe a PHP login script or even session with cookies could accomplish this really nice and easily.
CobraHosts is offline
Reply With Quote
View Public Profile Visit CobraHosts's homepage!
 
Old 03-05-2006, 02:38 PM Re: how can i
Junior Talker

Posts: 4
Trades: 0
Ok... what i won’t:
when user type directly in browser url www.kick.com/kick/kick.htm (../../kick.htm this page exist) automatically redirect to www.kick.com , or if they come from other pages (google,…, …) but if they come from root (www.kick.com) then nothing happened…thanks

PS:sry my english is bad

Last edited by unregistred; 03-05-2006 at 02:39 PM..
unregistred is offline
Reply With Quote
View Public Profile
 
Old 03-05-2006, 02:58 PM Re: how can i
Super Talker

Posts: 144
Trades: 0
then it seems as though you need server side code to evaulate the HTTP_REFERER header and make your actions based on where they came from. however, keep in mind that this header is not always sent. another approach is to use some type of tracking variable sent over the URL
__________________
create.vibe

Please login or register to view this content. Registration is FREE
createvibe.com is offline
Reply With Quote
View Public Profile Visit createvibe.com's homepage!
 
Old 03-05-2006, 04:53 PM Re: how can i
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
absolutely do not do this.

Visitors expect to land on the page they click in the SERP and they do not want to redirected to your "home" page only to have to renavigate to the page they wanted.

The only button most would be using would be either close or back
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-05-2006, 05:28 PM Re: how can i
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I agree with Chis. Why would you want to redirect people in this way? If I click a link to your site and the link doesn't take me to the page I want I leave. If I click a few times and it always takes me somwhere else I leave and never return.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 03-05-2006, 05:34 PM Re: how can i
Junior Talker

Posts: 4
Trades: 0
thank you chrishirst for your advice a respect that but can I do that and how?
unregistred is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how can i
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37938 seconds with 12 queries