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
how to point other webpage automatically
Old 09-24-2007, 10:18 AM how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
Trades: 0
hello ,

I am having a situation for which i need to point a web page to be directed to some other page automatically ( no click ..href etc.. ) ie. if i request a page say http://somedoamin.havethis.html and page havethis.html automatically direct it to http://someotherdoamin.havethisonenow.html ....this should be done automatically.

Thanks
soroccoheaven is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-24-2007, 11:03 AM Re: how to point other webpage automatically
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
I don't get what you ask, but if it's a redirection, then use javascript if you don't have any server side tools available:
Code:
<script type="text/javascript">
  top.location="http://yadayadayada.com";
</script>
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-24-2007, 11:14 AM Re: how to point other webpage automatically
Novice Talker

Posts: 14
Name: Dmitri
Trades: 0
another way with meta tag:
HTML Code:
<meta http-equiv="refresh" content="0;url=http://someotherdoamin.havethisonenow.html" />
Dknight is offline
Reply With Quote
View Public Profile
 
Old 09-24-2007, 11:57 AM Re: how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
Trades: 0
Thanks to both of you for reply ..
Actually i have such a condition that i could not make my the web server accessible from internet because i am on dsl connection and on Dynamic Ip so i am using DDNS but i don't want to install any ddns client package on my Linux box so what i am trying to do is i will install ddns software in my winxp machine and install apache on it.now i will put the referrer link for Linux based webserver in the winxp apache index page but i don't want my visitors know this.Thats why i need automatically redirection.
now will your solution work for this condition ?
soroccoheaven is offline
Reply With Quote
View Public Profile
 
Old 09-24-2007, 02:28 PM Re: how to point other webpage automatically
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
Best solution for a permanent redirect which is SERP friendly is 301 redirect.
You will need to amend your Htaccess file on your old domain and this will then point all visitors to your new site.
maxxximus is offline
Reply With Quote
View Public Profile
 
Old 09-24-2007, 03:22 PM Re: how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
Trades: 0
Quote:
Originally Posted by maxxximus View Post
Best solution for a permanent redirect which is SERP friendly is 301 redirect.
You will need to amend your Htaccess file on your old domain and this will then point all visitors to your new site.
and what is this SERP frien. 301 redirect ?.. sorry i am new to all about ..can you pls explain it little more ..and how to proceed etc.

thanks
soroccoheaven is offline
Reply With Quote
View Public Profile
 
Old 09-24-2007, 04:33 PM Re: how to point other webpage automatically
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
SERP =
Search
Engine
Results
Page


Try heading over to http://www.google.com and typing in SERP, then hitting the button. You'll be sent to a page with 10 results - each of them pages that should have something to do with SERP. That is a SERP. At first blush, this has nothing to do with your question. But it might be something you ask about later. If you want to be #1 on Google pay attention, if you don't care, ignore this.

You can make a page that says

<html>
<head>
<title>www.Great-Library.com is the best blog</title>
</head>
<body onload="document.location = 'http://www.great-library.com'">
<p>Go visit John's site!!!</p>
</body>
</html>

That would take anybody who went to your one particular URL to my home page. It works because the javascript is like typing a new URL into the address bar. And because the javascript is called out when the document loads.

But what if the person doesn't have script allowed? Or if the person isn't a person at all. Then a server redirect is what you need, it says "that page was moved buddy, you need to go thadaway." If you use 301 redirect the search engines will "follow" your directions to the new address. Any other way and they won't care.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 09-25-2007, 02:25 AM Re: how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
Trades: 0
Thank you very much newbie,
I will go <body onload .. ..let me try this out ..will let you know about it

bye
soroccoheaven is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how to point other webpage automatically
 

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