Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

url forwarding query

Posted on 2004-10-28
8
Medium Priority
?
175 Views
Last Modified: 2013-12-24
I have a website http://name.differentsite.com which I run a discussion forum on but I want to set up a link (http://www.mysite.org/folder) which will automatically redirect to the different site. Is this possible? How would I do it? My website host says its not possible to be done direct from the server due to having frontpage extensions and therefore needs to be done from withing frontpage. This is what I don't know what to do though.
0
Comment
Question by:samrad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
8 Comments
 
LVL 14

Expert Comment

by:hhammash
ID: 12442938
Hi,

Open http://www.mysite.org/folder
Open the default page in that folder
Switch to HTML view
Add the following line to the top of the page between <head> and </head>

<META HTTP-EQUIV="refresh" content="0;URL="http://www.name.differentsite.com">

Now when the user type
http://www.mysite.org/folder in the address bar,  he/she will be automatically and immediately directed to http://www.name.differentsite.com.

hhammash
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12442975
Note:

http://www.mysite.org/folder.

The folder should be a subweb with a default.asp or index.asp in order to type folder name only, example:

If the folder is a subweb and it is name UserForum the link will open by just using:

http://www.mysite.org/UserForum

The first page of the UserForum folder should be index or default.

But if UserForum is just a folder

you have to clearly specify the link as:

http://www.mysite.org/UserForum/index.asp

In both cases you have to open index or default in HTML mode and add the <meta> line I gave you above bewteen the <head> and </head> tags.

Regards
hhammash
0
 

Author Comment

by:samrad
ID: 12443118
I have done everything above. The folder is set up as a subweb and the only file in the folder is called index.htm.

The only html in the index.htm is as follows:

<html>

<head>
<META HTTP-EQUIV="refresh" content="0;URL="http://test.website.com"">
</head>

</html>

It seems to just get stuck in a loop or something.

Any suggestions?
0
Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

 
LVL 14

Expert Comment

by:hhammash
ID: 12445405
No, After URL you need to put the other site otherwise it will be a loop.

<META HTTP-EQUIV="refresh" content="0;URL="http://www.name.differentsite.com">

hhammash
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12445438
So, You have to addresses:

Open the address http://www.mysite.org/folder in Frontpage
Open index.htm which is inside the folder
between the <head> and </head> tags put:
<META HTTP-EQUIV="refresh" content="0;URL="http://www.name.differentsite.com">
Save the page

Now when the user types http://www.mysite.org/foler he/she will be redirected immediately and automatically to
http:/www.name.differentsite.com

hhammash
0
 

Author Comment

by:samrad
ID: 12445536
This is exactly what I have done. The URL is pointing to the different site but it just seems to get in a loop and doesn't redirect. I even tried just redirecting it to a random site e.b. bbc.co.uk but the problem is the same.
0
 
LVL 14

Accepted Solution

by:
hhammash earned 500 total points
ID: 12445635
Try this code:
<meta http-equiv="Refresh" content="0; url=http://www.name.differentsite.com">
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12445643
The previous code had an additional "
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question