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

Reply
 
LinkBack Thread Tools
Old 02-07-2009, 12:39 PM   #1
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default How to Redirect WP Domain to a Landing Page?

I have a domain name that my hosting company set up on WordPress. How do I redirect it to an affiliate landing page?

PS I am JUST getting started using WP, too. So if you need more info please let me know.

Also, I was reading some of the threads here and some were talking about needing an FTP program. I thought since my hosting company set up my domain on WP, I could make changes right from WP on my computer? No?

Thanks!

Mirza
GreenEyes is offline   Reply With Quote
Old 02-07-2009, 04:57 PM   #2
Senior Warrior Member
War Room Member
 
mywebwork's Avatar
 
Join Date: Sep 2008
Location: Honolulu, Hawaii, USA & Montreal Canada
Posts: 2,218
Blog Entries: 1
Thanks: 759
Thanked 724 Times in 505 Posts
Default Re: How to Redirect WP Domain to a Landing Page?

Aloha Mirza

Not sure I understand your question - are you just trying to divert traffic from mywordpressdomain.com to myaffiliatedomain.com? If so you can do this with a PHP header command as follows:

<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>

You can get more information about using the PHP header command at PHP: header - Manual .

If you need help implementing this please let me know.

Bill
mywebwork is offline   Reply With Quote
Old 02-07-2009, 05:20 PM   #3
Senior Warrior Member
War Room Member
 
Ross Dalangin's Avatar
 
Join Date: Dec 2005
Location: http://QuickMinisiteBuilder.com
Posts: 2,944
Blog Entries: 26
Thanks: 265
Thanked 168 Times in 119 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Here's my tutorial in using FTP:

Using Core FTP to Transfer Files : Make Money Online With Ross Dalangin| Money Making Online Opportunities

You can use that to transfer or delete files from your server. Be sure you delete or modify only the files inside the public_html folder.

If you have cpanel and have fantastico the find for wordpress and remove the installed wordpress on your site.

Another way is to rename the index.php and create a new index.php then put the suggestion of Bill to any page or URL you want.

Ross Dalangin is offline   Reply With Quote
Old 02-08-2009, 11:49 AM   #4
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

This looks like the easiest way...but, I'm not entirely sure HOW to do this. I'm writing this mostly to say thank you for the info and I will check out the manual you sent next. If I still need help I'll let you know.

Thanks again!

Quote:
Originally Posted by mywebwork View Post
Aloha Mirza

Not sure I understand your question - are you just trying to divert traffic from mywordpressdomain.com to myaffiliatedomain.com? If so you can do this with a PHP header command as follows:

<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>

You can get more information about using the PHP header command at PHP: header - Manual .

If you need help implementing this please let me know.

Bill

Mirza
GreenEyes is offline   Reply With Quote
Old 02-08-2009, 11:55 AM   #5
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

OH and Yes, that is what I'm trying to do. I want to re-direct my domain which is now on WordPress to my affiliate landing page.

I'd like to add my own content, but SEO takes time. So, in the meantime, I'd like to just re-direct my domain to my affiliate page and I have a way to use YouTube to drive traffic in the meantime.

Meaning, while I'm waiting on some articles to be written.

Hope that makes sense.

Quote:
Originally Posted by mywebwork View Post
Aloha Mirza

Not sure I understand your question - are you just trying to divert traffic from mywordpressdomain.com to myaffiliatedomain.com? If so you can do this with a PHP header command as follows:

<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>

You can get more information about using the PHP header command at PHP: header - Manual .

If you need help implementing this please let me know.

Bill

Mirza
GreenEyes is offline   Reply With Quote
Old 02-08-2009, 12:02 PM   #6
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Hi Ross, Thanks for the info. However...this part I don't get.

(then put the suggestion of Bill??? to any page) I have no idea what that means. lol sounds like greek to me!

I'm hosting with Host4Profit and so I don't have a cpanel or fantastico.

hmmmmm....
not sure what to even ask here at this point. But I will check out your links. Thanks!

Quote:
Originally Posted by Ross Dalangin View Post
Another way is to rename the index.php and create a new index.php then put the suggestion of Bill to any page or URL you want.

Quote:
Originally Posted by Ross Dalangin View Post
Here's my tutorial in using FTP:

Using Core FTP to Transfer Files : Make Money Online With Ross Dalangin| Money Making Online Opportunities

You can use that to transfer or delete files from your server. Be sure you delete or modify only the files inside the public_html folder.

If you have cpanel and have fantastico the find for wordpress and remove the installed wordpress on your site.

Another way is to rename the index.php and create a new index.php then put the suggestion of Bill to any page or URL you want.

Mirza
GreenEyes is offline   Reply With Quote
Old 02-09-2009, 06:07 AM   #7
Senior Warrior Member
War Room Member
 
mywebwork's Avatar
 
Join Date: Sep 2008
Location: Honolulu, Hawaii, USA & Montreal Canada
Posts: 2,218
Blog Entries: 1
Thanks: 759
Thanked 724 Times in 505 Posts
Default Re: How to Redirect WP Domain to a Landing Page?

Hi Mirza

Let me clarify:

Suppose you have a domain, mydomain.com, and you want all traffic sent to that domain to be immediately sent to myaffiliatelink.com/index.php?id=123456 ( the 123456 is your affiliate ID in this example).

Open a text editor such as Notepad and create a new text file with the following:


<?php
header( 'Location: http://myaffiliatelink.com/index.php?id=123456' ) ;
?>


Save this file as "index.php".

Now FTP the file to the root (public_html folder) of the mydomain.com domain. Make sure there is no existing "index.html" file.

This will cause all traffic sent to mydomain.com to be rerouted to myaffiliatelink.com/index.php?id=123456.

Hope this clears this up, please feel free to PM me if you need help with this.

Aloha

Bill
mywebwork is offline   Reply With Quote
Old 02-09-2009, 02:01 PM   #8
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: Dec 2008
Location: Texas
Posts: 239
Thanks: 54
Thanked 21 Times in 19 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to RobinInTexas
Default Re: How to Redirect WP Domain to a Landing Page?

If you are asking about Financial-Freedom101.com that does not appear to be compatible with wordpress.

Robin


...Even if you're on the right track, you'll get run over if you just sit there.
RobinInTexas is offline   Reply With Quote
Old 02-10-2009, 10:02 AM   #9
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by mywebwork View Post
Hi Mirza

Let me clarify:

Suppose you have a domain, mydomain.com, and you want all traffic sent to that domain to be immediately sent to myaffiliatelink.com/index.php?id=123456 ( the 123456 is your affiliate ID in this example).

Open a text editor such as Notepad and create a new text file with the following:


<?php
header( 'Location: http://myaffiliatelink.com/index.php?id=123456' ) ;
?>


Save this file as "index.php".

Now FTP the file to the root (public_html folder) of the mydomain.com domain. Make sure there is no existing "index.html" file.

This will cause all traffic sent to mydomain.com to be rerouted to myaffiliatelink.com/index.php?id=123456.

Hope this clears this up, please feel free to PM me if you need help with this.

Aloha

Bill
Hi Bill,
This looks perfect. Thank you very much. I'll give it a go and if I have any trouble I'll pm you.

Thanks again!
M

Mirza
GreenEyes is offline   Reply With Quote
Old 02-10-2009, 10:09 AM   #10
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by RobinInTexas View Post
If you are asking about Financial-Freedom101.com that does not appear to be compatible with wordpress.

Hi RobinInTexas,

Thanks for checking but actually my question is for another domain I have but since it's not ready I don't have it in my signature just yet.

Not sure I ever will because it's sort of in the naughty niche. ha ha!
I haven't made up my mind yet. Guess it depends on how well it comes out.


Thanks anyway!
GreenEyes

Mirza
GreenEyes is offline   Reply With Quote
Old 02-10-2009, 12:15 PM   #11
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: Dec 2008
Location: Texas
Posts: 239
Thanks: 54
Thanked 21 Times in 19 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to RobinInTexas
Arrow Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by GreenEyes View Post
Hi RobinInTexas,

Thanks for checking but actually my question is for another domain I have but since it's not ready I don't have it in my signature just yet.

Not sure I ever will because it's sort of in the naughty niche. ha ha!
I haven't made up my mind yet. Guess it depends on how well it comes out.


Thanks anyway!
GreenEyes
Depending on the registrar, you can probably handle that at the registrar, for an example of what I mean go to
Code:
 http://proxy-cgi.com
and you will get what I mean (it brings you back to the warrior forum with my referrer link embedded) I can't put a hot link here because the forum software decripts the forward.

If that is what you are looking for and need help PM me or YahooIM

Robin


...Even if you're on the right track, you'll get run over if you just sit there.
RobinInTexas is offline   Reply With Quote
Old 02-10-2009, 10:15 PM   #12
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by Ross Dalangin View Post
Another way is to rename the index.php and create a new index.php then put the suggestion of Bill to any page or URL you want.
Oh, ha ha, I see what you were saying here. Okay, that was embarrassing! lol

How's that go again?... Learn something new everyday!

Thanks again!

Mirza
GreenEyes is offline   Reply With Quote
Old 02-11-2009, 11:17 PM   #13
Warrior Member
 
Join Date: Feb 2009
Location: UK
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to Redirect WP Domain to a Landing Page?

Hi...........,
I think I am sure that there are many ways to redirect a domain name to another URL. Recently I did this very easily on NameCheap.com. I am sure other places such as GoDaddy.com offer this service, but doing it in NameCheap.com was simple. All you have to do is log into your NameCheap.com account, click on manage account, manage domains, and then select the domain name you want to manage. From there simply click on URL Forwarding.

rosesmith is offline   Reply With Quote
Old 02-12-2009, 11:12 AM   #14
Warrior Member
 
Join Date: Mar 2008
Location: Yukon, OK
Posts: 21
Thanks: 0
Thanked 3 Times in 3 Posts
Contact Info
Send a message via MSN to codecre8r
Default Re: How to Redirect WP Domain to a Landing Page?

The easiest way to redirect your entire site to your affiliate landing page is with a 301 redirect.

The PHP method that was mentioned earlier will only redirect the home page to your affiliate landing page. If anyone comes into your site from a search engine to a blog post or some other page, they will still see your blog (or a 404 Not Found if you deleted everything).

This is the most effective method to redirect your site to another URL.

I will PM you the code because I can't post a link yet.

codecre8r is offline   Reply With Quote
Old 02-12-2009, 11:16 AM   #15
Warrior Member
 
Join Date: Mar 2008
Location: Yukon, OK
Posts: 21
Thanks: 0
Thanked 3 Times in 3 Posts
Contact Info
Send a message via MSN to codecre8r
Default Re: How to Redirect WP Domain to a Landing Page?

Okay, can't send PM's yet either, lol.

This is how you do it:

Just edit your .htaccess file (in the root folder) and add this line:

Redirect 301 / URLToYourPageHere

Replace URLToYouPageHere with the full link to your affiliate page. It must include the http colon slash slash.

codecre8r is offline   Reply With Quote
Old 02-14-2009, 10:29 PM   #16
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by codecre8r View Post
Okay, can't send PM's yet either, lol.

This is how you do it:

Just edit your .htaccess file (in the root folder) and add this line:

Redirect 301 / URLToYourPageHere

Replace URLToYouPageHere with the full link to your affiliate page. It must include the http colon slash slash.
hehe, I was just about to say, you won't be able to pm either. But I see you figured that out. I couldn't wait to get my posting count up because of that. I know the rule is in place for good reason, but it was still frustrating, huh?!

Anyway, thanks for the directions! You and everyone who has posted instructions for me. It's still not done yet, but that's due to my busy work schedule this past week. It's 1030pm and I'm just now getting around to trying it out.

I'll be back to let you know either way on how it works out for me.

Thanks again!

Mirza
GreenEyes is offline   Reply With Quote
Old 02-14-2009, 10:34 PM   #17
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by codecre8r View Post
The easiest way to redirect your entire site to your affiliate landing page is with a 301 redirect.

The PHP method that was mentioned earlier will only redirect the home page to your affiliate landing page. If anyone comes into your site from a search engine to a blog post or some other page, they will still see your blog (or a 404 Not Found if you deleted everything).

This is the most effective method to redirect your site to another URL.

I will PM you the code because I can't post a link yet.
Actually, for the domain in question, that's all it is, a domain. There's nothing else on it. No post, no pages, notta, zip.

So in that case, I should be able to use the first set of instructions, right?

Mirza
GreenEyes is offline   Reply With Quote
Old 02-15-2009, 11:56 AM   #18
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: Dec 2008
Location: Texas
Posts: 239
Thanks: 54
Thanked 21 Times in 19 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to RobinInTexas
Lightbulb Re: How to Redirect WP Domain to a Landing Page?

The php redirect will work just fine, If you have that set up and working, you are done until you want something different.


Robin


...Even if you're on the right track, you'll get run over if you just sit there.

Last edited by RobinInTexas; 02-15-2009 at 11:57 AM. Reason: nunya
RobinInTexas is offline   Reply With Quote
Old 02-15-2009, 03:47 PM   #19
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by rosesmith View Post
Hi...........,
I think I am sure that there are many ways to redirect a domain name to another URL. Recently I did this very easily on NameCheap.com. I am sure other places such as GoDaddy.com offer this service, but doing it in NameCheap.com was simple. All you have to do is log into your NameCheap.com account, click on manage account, manage domains, and then select the domain name you want to manage. From there simply click on URL Forwarding.
Yeah! Finally, my domain is redirecting just fine!

I was all ready to use Bill's code and yes that would have worked but when I got into my panel, low and behold there was a link big as day, "REDIRECT" Jeez!

Sorry guys for all the trouble. BUT, I learned a lot from all your comments and instructions. I'm a lot smarter today than just a week ago!!

And hopefully someone else (someone did already) will be helped as well.

Thanks again!

Mirza
GreenEyes is offline   Reply With Quote
Old 02-15-2009, 03:58 PM   #20
Active Warrior
War Room Member
 
GreenEyes's Avatar
 
Join Date: Oct 2008
Location: New Orleans ~ "Le Bon Temps Roule"
Posts: 91
Thanks: 47
Thanked 13 Times in 11 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to Redirect WP Domain to a Landing Page?

Quote:
Originally Posted by RobinInTexas View Post
The php redirect will work just fine, If you have that set up and working, you are done until you want something different.

Hi Robin,

Well, I am definitely going to want something different, but for now I just want to start making some money. So when I have enough articles ready, meaning first, know how to navigate WP a bit more and I would like to have about 15 or so pages ready and know where my links are going to go, then....it should be easy enough to stop the redirect and start adding pages? Right?

Also, is it true that you should only add a few pages a day and not add 20 or 30 in one day? Something to do with Google and ranking over time? The idea makes sense to me, I'm just not really sure why or how it's better. That's if it even is. (makes sense?)

Mirza
GreenEyes is offline   Reply With Quote
Old 02-15-2009, 04:03 PM   #21
Gary
 
GB2008's Avatar
 
Join Date: Jan 2009
Location: Dallas, TX
Posts: 135
Blog Entries: 1
Thanks: 13
Thanked 9 Times in 9 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to GB2008
Default Re: How to Redirect WP Domain to a Landing Page?

To add to this - the 301 redirect is for pages that you have moved permanently - it tells the search engines to always look in the new place from here on. So if this is a temporary measure, I would use the PHP solution.

GB2008 is offline   Reply With Quote
Old 02-15-2009, 06:53 PM   #22
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: Dec 2008
Location: Texas
Posts: 239
Thanks: 54
Thanked 21 Times in 19 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to RobinInTexas
Lightbulb Re: How to Redirect WP Domain to a Landing Page?

If what you trying to do is redirect your domain, lets use "greeneyes.com" for sake of discussion and you want to redirect greeneyes.com to http://xxxyourClickBankId.earth4.hop.clickbank.net/ until you finish building a WP website at greeneyes.com, it gets complicated.
The php redirect needs to use index.php in the web root directory (public_html/) to work.
Wordpress uses what has to be it's own index.php in the same directory.
You can work around this by temporarily having your hosting hosting company point greeneyes.com to a different subdirectory public_html/anynamewilldo/ and placing your redirect index.php there (do that in cPanel if that's what you have).
Then you need to create an subdomain maybe construction.greeneyes.com that points to what will later be the permanent home which probably is public_html/
Once you do that, you need to tell wordpress settings->general that your wordpress address & blog address are http://construction.greeneyes.com
When you are done building, you need to undo the redirects and change the wordpress settings above removing "construction."
I am pretty sure all this will work, it might depend on how your hosting is set up, and I have not tested my theory. You can PM me if you are stuck.

Robin


...Even if you're on the right track, you'll get run over if you just sit there.
RobinInTexas is offline   Reply With Quote
Reply

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

Tags
domain, landing, page, redirect, redirect urls, wordpress

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 03:13 AM.