What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Redirecting Url

Pages: (2): « First [ 1 ] 2 » Last »
Redirecting Url
Author: Message:
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. Redirecting Url
I just changed the url of my forums as the name of my forums was already taken. So can someone make me a simple redirect page. I mean if someone would type the name of my old forum address they should be redirected to my new forums.
For that u'll probably need the address for my forums rite. Should I post it.
Here it is.
Old Address http://sciontech.freefronthost.com
New Address http://www.krizon.freefronthost.com
Thanks once again :D
EDIT: Some ppl might not have selected the index.php in the main folder and bookmarked it. Mabbe they bookmarked the user cp page or something. Is there any thing that can be done about that ??
I just made a blank page with the text that "the forum has changed its address to ......." and then the link. If u can then just make this page display if anything ahead of http://sciontech.freefronthost.com is typed. Is that possible. But the best thing would be the direct redirection of any page to the new address. Also i just got an idea that if the user has linked any other page except the index page then a Error 404 will be shown. So i can make one with that link. Whats the extension for that ? (html of php)

This post was edited on 01-31-2005 at 07:03 AM by John Anderton.
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-31-2005 06:51 AM
Profile E-Mail PM Web Find Quote Report
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
38 / Male / Flag
Joined: Aug 2004
Status: Away
RE: Redirecting Url
If you can still host files in that other web, you can put an index.htm file with:

<meta http-equiv="refresh" content="0;URL=http://www.krizon.freefronthost.com/" />

Edit: if you can't host/change files there anymore, there's no way it can be redirected.

This post was edited on 01-31-2005 at 07:01 AM by L. Coyote.

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

01-31-2005 06:58 AM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Redirecting Url
Ok i made a index.html with frontpage and now i'm adding that line. Thanks for that leo. Also can i do something if the user had bookmarked a different page (other than the index page, mentioned in edit above)
EDIT: I'm using frontpage and when ever i try to paste what leo gave it shows this
I post >
code:
<meta http-equiv="refresh" content="0;URL=http://www.krizon.freefronthost.com/" />
It shows>
code:
<!--StartFragment -->
<font face="verdana,tahoma,arial,helvetica" size="2">meta http-equiv="refresh" content="0;URL=http://www.krizon.freefronthost.com/" /</font>
Should i use notepad instead. And where shoud this code be. Body, or head
I have attatched the index.html. If u have the time can u do it or just post the answer and i'll do it.
Thanks
quote:
Originally posted by Leo
if you can't host/change files there anymore, there's no way it can be redirected.
I can still use that url cause i have it. I had to change it since a company of that name existed. So i thought of a new name and googled it. So i guess its safe to use the new name :)

EDIT 2:
quote:
Originally posted by Demandred
isnt this Spam?
Huh ??:S I dont know how to do something and i am asking for help. How that spam ???

.htm File Attachment: index.htm (495 bytes)
This file has been downloaded 101 time(s).

This post was edited on 01-31-2005 at 07:24 AM by John Anderton.
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-31-2005 07:05 AM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Redirecting Url
quote:
Originally posted by John Anderton
<font face="verdana,tahoma,arial,helvetica" size="2">meta http-equiv="refresh" content="0;URL=http://www.krizon.freefronthost.com/" /</font>
:dodgy:

Just use Notepad and place the <meta> code in the <head> section. It doesn't have to be anything fancy...
code:
<html>
<head>
<title>Redirect</title>
<meta http-equiv="refresh" content="0;URL=http://www.krizon.freefronthost.com/" />
</head>
<body>
Redirecting to new URL...
</body>
</html>
quote:
Originally posted by John Anderton
Also can i do something if the user had bookmarked a different page (other than the index page, mentioned in edit above)
Are you allowed to use .htaccess files on this host? If so, place the following line in the file (if it doesn't exist, create it)...
code:
RedirectPermanent / http://www.krizon.freefronthost.com/
That should redirect any request for any page to the new URL.
01-31-2005 07:34 AM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Redirecting Url
Thanks i made the page. Also the main page of the url shows /index.php at the end unlike this forum so thats a php and this is this is a html so neprobs ?
What will be the change in codes it i had to use it as a php ?
quote:
Originally posted by WDZ
Are you allowed to use .htaccess files on this host? If so, place the following line in the file (if it doesn't exist, create it)...
No not allowed. So should i use my error 404 idea. How does that work ?
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-31-2005 07:41 AM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Redirecting Url
Error 404 works with a .htacces also.

[Image: 1-0.png]
             
01-31-2005 11:32 AM
Profile PM Web Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Redirecting Url
No, you can't do it then if you can't edit the .htaccess. Just create the index.html page and hope people are smart enough (!) to try the main page.

This post was edited on 01-31-2005 at 02:00 PM by segosa.
The previous sentence is false. The following sentence is true.
01-31-2005 01:59 PM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Redirecting Url
Ok but my host gives me an option to have a personal error 404 page
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-31-2005 02:04 PM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Redirecting Url
quote:
Originally posted by John Anderton
Ok but my host gives me an option to have a personal error 404 page
Oh, set up via a control panel? That might work. (y)

quote:
Originally posted by John Anderton
Thanks i made the page. Also the main page of the url shows /index.php at the end unlike this forum so thats a php and this is this is a html so neprobs ?
Well, as long as people don't specifically request a php file, you should be fine. In other words, if they just go to http://sciontech.freefronthost.com/.

Of course, you could always rename that .html file to .php, and even make multiple copies of it with different names to replace all the .php files that people might have bookmarked.
01-31-2005 02:46 PM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Redirecting Url
quote:
Originally posted by WDZ
Well, as long as people don't specifically request a php file, you should be fine. In other words, if they just go to http://sciontech.freefronthost.com/.

Of course, you could always rename that .html file to .php, and even make multiple copies of it with different names to replace all the .php files that people might have bookmarked.
So u mean like index.htm, index.php, usercp.php etc. Thanks. Also is there no code changes reqd. in the one you gave. Thats html so if i rename it to php still will it work ??? I'm assuming yes cause WDZ said so :)
Thanks Wdz (Y)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-31-2005 04:26 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On