![]() | | ||||||||
| | #1 |
| HyperActive Warrior War Room Member Join Date: Aug 2010
Posts: 175
Thanks: 37
Thanked 15 Times in 12 Posts
|
Hey guys Just looking for some advice, if anyone has anything to add please do so, something has been pondering my mind. My question is this... Can I redirect the homepage of one domain to an inner page of a new domain? Any input would very much be appreciated. Many thanks mem |
| | |
| | #2 |
| HyperActive Warrior War Room Member Join Date: Oct 2007 Location: Newfoundland, Canada
Posts: 114
Thanks: 2
Thanked 12 Times in 12 Posts
|
Yes you can redirect any site you want. There are a couple ways of doing it. You can modify the HTML code and and a little JavaScript snippet to redirect the page. Or you can use an htaccess to redirect the visitor as well. Javascript Redirect: Javascript Tutorial - Redirect htaccess redirect generator: Free .htaccess Redirect Generator Shannon |
|
Current WSO ->Killer Technique For Finding Actual Google Analytics Reports for 1000s of Domains! 100% of ALL NET REVENUE from the sale of my WSO above will be used on Kiva.org!!! | |
| | |
| | #3 | |
| HyperActive Warrior War Room Member Join Date: Aug 2010
Posts: 175
Thanks: 37
Thanked 15 Times in 12 Posts
| Quote:
thanks for the links by the way, much appreciated. | |
| | |
| | #4 |
| HyperActive Warrior War Room Member Join Date: Oct 2007 Location: Newfoundland, Canada
Posts: 114
Thanks: 2
Thanked 12 Times in 12 Posts
|
Yeah. The easiest would be the javascript. You can add the javascript code to the header of any file you want to redirect and just tell it what site to redirect to. Shannon |
|
Current WSO ->Killer Technique For Finding Actual Google Analytics Reports for 1000s of Domains! 100% of ALL NET REVENUE from the sale of my WSO above will be used on Kiva.org!!! | |
| | |
| | #5 |
| HyperActive Warrior War Room Member Join Date: Mar 2011
Posts: 116
Thanks: 1
Thanked 15 Times in 15 Posts
|
However, if you would like the backlink "juice" to be redirected with it you will use either PHP redirect or HTACCESS. It's quite simple to do in both. In PHP make a new file: <?php Header('HTTP/1.1 301 Moved Permanently'); Header('Location: http://yournewdomain.com/page.html'); ?> HTACCESS redirect http://yournewdomain.com/page.html Javascript won't pass the link juice since it's not server-sided and doesn't send 301 headers. |
| | |
| | #6 |
| HyperActive Warrior War Room Member Join Date: Aug 2010
Posts: 175
Thanks: 37
Thanked 15 Times in 12 Posts
|
Thanks guys much appreciated. Just what I needed. Now i can get back to work :-)
|
| | |
![]() |
|
| Tags |
| homepagecan, redirect |
| Thread Tools | |
| |
![]() |