|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
in a van by the river
Industry Role:
Join Date: May 2003
Posts: 76,806
|
Link redirects..
I'm trying to set my network up so it's easier to later edit links. I'm not a server guru so I'm wondering if there is anything wrong with this method.
What I want to do is link to a specific url, then redirect that url to the paysite. This way any place I want to link to a specific program I can instead link to the one single url. This will make it easy to later edit or change the link if I need to at one place rather than hundreds of pages. So I want to link to a url like this.. www.myurl.com/paysite1.php That link would then redirect to using code like this. <?php ob_start(); echo "Test"; header("Location: http://www.paysiteurl.com"); ob_flush(); ?> I'm wondering if this would cause any problems? or if it could possiable get me banned in the SE's for redirects.
__________________
In November, you can vote for America's next president or its first dictator. |
|
|
|
|
|
#2 | |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quote:
You should do mod_rewrite, instead. Less server tax and more configurable; anything after .php ?code=foo will be passed to the paysite as so: RewriteRule ^paysite1\.php(.*)$ http://www.paysite.com/$1 [R=301,L]
__________________
|
|
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: 1 of 3 holes
Posts: 680
|
why are you using the output buffer? Just use header location redirect line.
Yeah you will be penalized by the SE's for the redirect unless you cheat which isn't really worth it. Definitely use mod_rewrite to change links |
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: 1 of 3 holes
Posts: 680
|
there is no penalty for a 301 redirect, but that indicates to the crawlers that this is a permanent redirect and they should drop the old link and now use the new link. Now whether or not they stick to that rule is up to the crawler.
|
|
|
|
|
|
#5 |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
I've had pretty shitty luck with Google ever changing 301s to different sites for me after, oh, 5 years. Yahoo, as well. MSN, however, did.
__________________
|
|
|
|
|
|
#6 |
|
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
From an SE point of view there's no difference between a redirect using php or a redirect using mod_rewrite.
|
|
|
|
|
|
#7 |
|
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
|
|
|
|
|
|
#8 |
|
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: 1 of 3 holes
Posts: 680
|
Nothing wrong with the redirect. The problem is that it bypasses what Crockett was originally trying to accomplish by using the redirects.
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Jul 2006
Location: In a van down by the river
Posts: 2,624
|
__________________
"There is no other way to see a thing except to look at it" - fatfoo |
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Aug 2003
Location: Hoy Suecia, mañana Nirvana
Posts: 1,594
|
Setting "nofollow" on all Your redirecting links doesn't hurt in these scenarios:
Code:
<a href="http://www.yoursite.com/redirect3902/" rel="nofollow">JOIN DAMN IT!</a>
__________________
|
|
|
|