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
Redirectional HTML Code without Changing URL on top
Old 01-27-2009, 09:42 PM Redirectional HTML Code without Changing URL on top
Junior Talker

Posts: 3
Trades: 0
how can I create a html code that will automatically redirect someone to a different address without changing my url on top?

lets say... my website is google.com/crom.html

when users visit google.com I want it to redirect to google.com/crom.html but on the address bar it'll still say google.com
crom is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-27-2009, 11:32 PM Re: Redirectional HTML Code without Changing URL on top
regmac's Avatar
Super Talker

Posts: 140
Trades: 0
I think this is only possible with URL cloaking or URL hiding. More info here http://www.shoemoney.com/2008/02/12/...l-redirection/
__________________
Gambling guidance? Visit
Please login or register to view this content. Registration is FREE
Specialist!
Please login or register to view this content. Registration is FREE
regmac is offline
Reply With Quote
View Public Profile Visit regmac's homepage!
 
Old 01-28-2009, 12:10 AM Re: Redirectional HTML Code without Changing URL on top
Junior Talker

Posts: 3
Trades: 0
I'm thinking of iframe.... anyone?
crom is offline
Reply With Quote
View Public Profile
 
Old 01-28-2009, 01:31 AM Re: Redirectional HTML Code without Changing URL on top
Banned

Posts: 923
Name: Geoff Vader
Location: In my dreams
Trades: 0
not just an iframe - ANY frame. just a frame will do. an iframe too.
pretty easy question.

you have the right answer already. just use it. surely if you try that out you'll soon see it works. what are you waiting for? or are you going to "move on"? (ha ha ha)
witnesstheday is offline
Reply With Quote
View Public Profile
 
Old 01-28-2009, 01:38 AM Re: Redirectional HTML Code without Changing URL on top
Junior Talker

Posts: 3
Trades: 0
how would I code it using frames?
crom is offline
Reply With Quote
View Public Profile
 
Old 01-28-2009, 12:43 PM Re: Redirectional HTML Code without Changing URL on top
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
Well, you could do this:
HTML Code:
<FRAMESET>
     <FRAME SRC="/crom.html">
</FRAMESET>
But I really wouldn't recommend it. It's overly complicated, and frames are not completely recognized by all browsers. And, there are lots of other ways to go about achieving this goal that have less code, and are widely recognized!
First off, you could use a php include:

PHP Code:
<?php include('crom.html'); ?>
Or even a server side include:

HTML Code:
<!--#include virtual="/crom.html" -->
- Steve

Last edited by stevej; 01-28-2009 at 01:14 PM..
stevej is offline
Reply With Quote
View Public Profile
 
Old 01-28-2009, 01:00 PM Re: Redirectional HTML Code without Changing URL on top
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Actually Frames are pretty much universally recognized by browsers. WHY you would want to use them, or cloak one URL to look like another, however, is beyond me.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to Redirectional HTML Code without Changing URL on top
 

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.83634 seconds with 12 queries