Reply
how to point other webpage automatically
Old 09-24-2007, 11:18 AM how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
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
 
When You Register, These Ads Go Away!
Old 09-24-2007, 12:03 PM Re: how to point other webpage automatically
tripy's Avatar
Fetchez la vache!

Posts: 2,162
Name: Thierry
Location: In the void
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>
__________________
Listen to the ducky: "This is awesome!!!"

tripy is online now
Reply With Quote
View Public Profile
 
Old 09-24-2007, 12:14 PM Re: how to point other webpage automatically
Novice Talker

Posts: 14
Name: Dmitri
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, 12:57 PM Re: how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
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, 03:28 PM Re: how to point other webpage automatically
maxxximus's Avatar
Extreme Talker

Posts: 206
Name: Rob
Location: UK
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, 04:22 PM Re: how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
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, 05:33 PM Re: how to point other webpage automatically
Learning Newbie's Avatar
Moderator

Latest Blog Post:
Republicans Are In Trouble
Posts: 5,517
Name: John Alexander
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.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 09-25-2007, 03:25 AM Re: how to point other webpage automatically
Average Talker

Posts: 18
Name: sorocco
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

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


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

 


Page generated in 0.14040 seconds with 12 queries