D
D
Den Belzarayn2016-07-23 03:40:23
PHP
Den Belzarayn, 2016-07-23 03:40:23

Does php page weight get passed to redirect?

On the forum, I pretty much asked how to set up a redirect so that it did not get into the search engine index. Everything turned out and everything works. But, since I'm a beginner and I didn't find an answer on the Internet for a day, I decided to ask again on the forum.
<?php $URL=" site.com/link ";
header("Location:$URL",true,301);
exit();
?>
And the question itself:
Is the weight of the page on which the redirect link is located transferred to the redirect itself or to the link nested in the redirect itself?
And for example, how many redirects can be placed on one page? And is it possible, because of the redirects in which affiliate links are embedded, to fall under the filter of search engines?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AlikDex, 2016-07-23
@AlikDex

of course transmitted. How is a redirect different from following a link? Nothing, it's the same redirect. 301 even more so. Read what a 301 redirect is.
I'll add more. Stop reading tons of SEO crap that has been written over the past years. With each new algorithm, the rules of the search engines change, and therefore the promotion strategy changes. But in general, the trend is to choose the most interesting sites for people . It follows that you need to make your site in such a way that it is interesting for people, not bots. And then there will be no problems with search engines.

X
xmoonlight, 2016-07-23
@xmoonlight

https://support.google.com/webmasters/answer/96569...

rel="nofollow"

M
Maxim Artemiev, 2016-07-25
@dan-pro

A 301 redirect completely conveys the weight of how it's implemented - doesn't matter.
The most important thing is that when checking, the page response code should have 301.
Regarding the number, no one checked, but here the logic is that the less the better.
Redirects to affiliates - and make a "laying", a separate page with redirects. But in general, Yandex and Google don't care if they have affiliate links or not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question