Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 06-08-2009, 12:46 AM   #1
Warrior Member
 
Join Date: Mar 2009
Location: Israel
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Social Networking View Member's Twitter Profile 
Default need help in redirect

Hi,

I need to know how I can have a page that redirect the user to another domain. Let say I have a site www[dot]mysite[dot]com/page123, I will link to this page from anywhere and when the surfer click on that link he will be redirect to www[dot]program[dot]com.
alonpy is offline   Reply With Quote
Old 06-08-2009, 12:50 AM   #2
Money Never Sleeps
War Room Member
 
JMartin's Avatar
 
Join Date: Dec 2007
Location: Vegas
Posts: 322
Thanks: 2
Thanked 28 Times in 25 Posts
Default Re: need help in redirect

If you have PHP use, you can just make a page called index.php or whatever and enter this in the file:

Code:
<?
header("location:http://www.SITE.com");
?>
That will redirect the person to SITE.com when s/he hits the file.

Example:

Let's say I just bought site.info and I want to redirect people hitting site.info to site.com, I'd put that above code in index.php and upload it to the main directory of site.info.

Now, when someone visits site.info in any way, they get redirected to site.com.

JMartin is offline   Reply With Quote
Old 06-08-2009, 11:04 AM   #3
HyperActive Warrior
War Room Member
 
Join Date: Jan 2009
Posts: 134
Thanks: 10
Thanked 30 Times in 8 Posts
Default Re: need help in redirect

Well, you can always use a .htaccess file for that. Create a text document, type in something like this
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^page123$ index.php [L,R=301]
</IfModule>
and save it as ".htaccess". Then upload this file to your server.

Aaron Sustar is offline   Reply With Quote
Old 06-09-2009, 10:54 AM   #4
Warrior Member
 
Join Date: Mar 2009
Location: Israel
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Social Networking View Member's Twitter Profile 
Default Re: need help in redirect

Is there a HTML code for that?
alonpy is offline   Reply With Quote
Old 06-09-2009, 11:30 AM   #5
Warrior Member
 
Join Date: Jun 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: need help in redirect

just login to your cpanel and click on "redirect links". if you don't have cpanel, any of the two methods above will work just fine.
howdoyou is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
redirect

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

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



All times are GMT -6. The time now is 08:27 PM.