What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Help with website redirection

Pages: (2): « First « 1 [ 2 ] Last »
Help with website redirection
Author: Message:
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: RE: Help with website redirection
quote:
Originally posted by -!Felu!-
quote:
Originally posted by alexp2_ad
Create a file called .htaccess and in it write:

code:
RewriteEngine On
Options +FollowSymlinks

RewriteRule ^(.*)$ http://abc.def.com/$1 [r=301,nc]

Assuming it's an apache server, that'll work.

Edit:  Oh, and put it in the place you're redirecting from. [Image: msn_wink.gif]
Where to put the place i'm redirecting from?

Put it in the place where the files would go... if you wanted it to redirect from http://mno.def.com/ then put it in the directory for that.
09-24-2006 02:03 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
O.P. RE: Help with website redirection
Thanks a lot Alex. That was exactly what i wanted [Image: msn_grin.gif]. Thanks again [Image: msn_wink.gif].
09-24-2006 02:09 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help with website redirection
code:
<script>window.location='http://abc.def.com/xyz';</script>
09-24-2006 02:26 PM
Profile E-Mail PM Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: Help with website redirection
quote:
Originally posted by Matty
<script>window.location='http://abc.def.com/xyz';</script>
Not preferred because it needs javascript enabled, when you use something like that, make sure you provide an alternative for people with script disabled.

But looks like Felu already got it anyway :).
Finish the problem
Menthix.net | Contact Me
09-24-2006 02:37 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help with website redirection
quote:
Originally posted by MenthiX
quote:
Originally posted by Matty
<script>window.location='http://abc.def.com/xyz';</script>
Not preferred because it needs javascript enabled, when you use something like that, make sure you provide an alternative for people with script disabled.

But looks like Felu already got it anyway :).
Just providing all the possibilities.
09-24-2006 03:07 PM
Profile E-Mail PM 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