T O P I C R E V I E W |
shirdisaibaba |
Posted - 25 July 2006 : 20:48:33 When there is a hyperlink in the post, it opens that link in a new window and redirect to that website. In general, it should first go to some page (snitzout.asp?url=http://www.linkxyz.com) and then this page finally redirect to the actual link. This has become very important to boost your page rank in Google. Please suggest if someone already implemented this?
<moved to="MOD Add-On Forum (W/O Code)" by="Shaggy" />
< |
12 L A T E S T R E P L I E S (Newest First) |
Shaggy |
Posted - 27 July 2006 : 06:20:22 OK, first bear in mind that the following changes will be applied to all links posted on your forums, even those linking to other pages on your forum or site which will impede the ability of spiders to index your forum properly.
Find the following on line 916 of inc_func_common.asp:rc1Tag = """ target=""_blank"">" And add the code in green:rc1Tag = """ target=""_blank"" rel=""nofollow"">" Find the following on line 964:ReplaceURLs = ReplaceURLs & "<a href=""" & strArray2(0) & """ target=""_blank"">" & strFirstPart & "</a>" & strSecondPart And add the code in green:ReplaceURLs = ReplaceURLs & "<a href=""" & strArray2(0) & """ target=""_blank"" rel=""nofollow"">" & strFirstPart & "</a>" & strSecondPart Find the following beginning on line 1535:if (iType == 1) {
sOutput = sOutput.replace(/\b(http\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\">$1<\/a>");
} else if (iType == 2) {
sOutput = sOutput.replace(/\b(https\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\">$1<\/a>");
} else if (iType == 3) {
sOutput = sOutput.replace(/\b(www\.[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"http://$1\" target=\"_blank\">$1<\/a>");
} else if (iType == 4) {
sOutput = sOutput.replace(/\b([\w+\-\'\#\%\.\_\,\$\!\+\*]+@[\w+\.?\-\'\#\%\~\_\.\;\,\$\!\+\*]+\.[\w+\.?\-\'\#\%\~\_\.\;\,\$\!\+\*]+)/gi,
"<a href=\"mailto\:$1\">$1<\/a>");
} else if (iType == 5) {
sOutput = sOutput.replace(/\b(ftp\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\">$1<\/a>");
} else if (iType == 6) {
sOutput = sOutput.replace(/\b(file\:\/\/\/[\w+\:\/\\]+[\w+\/\w+\.\:\/\\\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\">$1<\/a>");
} And add the code in green:if (iType == 1) {
sOutput = sOutput.replace(/\b(http\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\" rel=\"nofollow\">$1<\/a>");
} else if (iType == 2) {
sOutput = sOutput.replace(/\b(https\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\" rel=\"nofollow\">$1<\/a>");
} else if (iType == 3) {
sOutput = sOutput.replace(/\b(www\.[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"http://$1\" target=\"_blank\" rel=\"nofollow\">$1<\/a>");
} else if (iType == 4) {
sOutput = sOutput.replace(/\b([\w+\-\'\#\%\.\_\,\$\!\+\*]+@[\w+\.?\-\'\#\%\~\_\.\;\,\$\!\+\*]+\.[\w+\.?\-\'\#\%\~\_\.\;\,\$\!\+\*]+)/gi,
"<a href=\"mailto\:$1\" rel=\"nofollow\">$1<\/a>");
} else if (iType == 5) {
sOutput = sOutput.replace(/\b(ftp\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\" rel=\"nofollow\">$1<\/a>");
} else if (iType == 6) {
sOutput = sOutput.replace(/\b(file\:\/\/\/[\w+\:\/\\]+[\w+\/\w+\.\:\/\\\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
"<a href=\"$1\" target=\"_blank\" rel=\"nofollow\">$1<\/a>");
} < |
shirdisaibaba |
Posted - 27 July 2006 : 05:27:14 What about using of "nofollow" tag for every link in the forum?
quote: Originally posted by Rocket468
redirects are very bad.
I see exactly what your trying to do. Probley the best way is to have a list or db table of accepted outbound domains. If the link in a post does not point to a domain in your list there should be a no follow tag 'rel="nofollow"'added to that link. If it is in the list then right the tag the default way. With the no follow tag you will not loose pr.
shirdisaibaba I love snitz, still use it on some of my boards, but its leaps and bounds behind when it comes to SEO If you have 300 us i would look into http://www.vbulletin.com/ along with http://www.vbseo.com/. It will not do the nofollow deal you would have to add that. But it uses mod rewrite so your topic names become the link names vers topic_id=4456 it would be hyperlink_out_page_t-4456
< |
Rocket468 |
Posted - 26 July 2006 : 10:33:32 redirects are very bad.
I see exactly what your trying to do. Probley the best way is to have a list or db table of accepted outbound domains. If the link in a post does not point to a domain in your list there should be a no follow tag 'rel="nofollow"'added to that link. If it is in the list then right the tag the default way. With the no follow tag you will not loose pr.
shirdisaibaba I love snitz, still use it on some of my boards, but its leaps and bounds behind when it comes to SEO If you have 300 us i would look into http://www.vbulletin.com/ along with http://www.vbseo.com/. It will not do the nofollow deal you would have to add that. But it uses mod rewrite so your topic names become the link names vers topic_id=4456 it would be hyperlink_out_page_t-4456
< |
HuwR |
Posted - 26 July 2006 : 09:24:35 quote: Originally posted by shirdisaibaba
Too many out links may reduce the PR of your website.
quote: Originally posted by HuwR
another question, since when has this been important for your Google ranking ? from what I know of Googles ranking system, doing what you suggest would actually reduce your rank not increase it, as Google penalise you for using redirects which is what you would have to do.
Redirection has a far greater negative effect on PR than having lots of external links does< |
Shaggy |
Posted - 26 July 2006 : 05:24:48 quote: Originally posted by shirdisaibaba I guess this should be part of Snitz Forum?
Dont you agree?
Short answer; no.
Shouldn't be too difficult to implement, if nobody gets back to you on it soon, I'll have a goo later when I've a bit more time.
< |
shirdisaibaba |
Posted - 26 July 2006 : 05:15:48 Yep, you got the point. I guess this should be part of Snitz Forum?
Dont you agree?
quote: Originally posted by MarcelG
Huw, if I'm not mistaking, the links then lead to your own domain instead of out of your own domain ; less links to other websites from your own website, which would result in a higher pagerank. But that's just my theory.
< |
shirdisaibaba |
Posted - 26 July 2006 : 05:12:50 This is a genuine point, but big web apps use its own out page. This is a common practice. Initially I had 4 PR of my forum, because of the increasing number out links, it has reduced to PR 3.
quote: Originally posted by HuwR
another question, since when has this been important for your Google ranking ? from what I know of Googles ranking system, doing what you suggest would actually reduce your rank not increase it, as Google penalise you for using redirects which is what you would have to do.
< |
shirdisaibaba |
Posted - 26 July 2006 : 05:06:59 OOPS... I am not sure if this is the right place to submit my problem. BTW I am using 3.4.04.
quote: Originally posted by shirdisaibaba
When there is a hyperlink in the post, it opens that link in a new window and redirect to that website. In general, it should first go to some page (snitzout.asp?url=http://www.linkxyz.com) and then this page finally redirect to the actual link. This has become very important to boost your page rank in Google. Please suggest if someone already implemented this?
< |
shirdisaibaba |
Posted - 26 July 2006 : 05:05:57 Too many out links may reduce the PR of your website.
quote: Originally posted by HuwR
another question, since when has this been important for your Google ranking ? from what I know of Googles ranking system, doing what you suggest would actually reduce your rank not increase it, as Google penalise you for using redirects which is what you would have to do.
< |
MarcelG |
Posted - 26 July 2006 : 05:02:52 Huw, if I'm not mistaking, the links then lead to your own domain instead of out of your own domain ; less links to other websites from your own website, which would result in a higher pagerank. But that's just my theory.< |
HuwR |
Posted - 26 July 2006 : 03:32:50 another question, since when has this been important for your Google ranking ? from what I know of Googles ranking system, doing what you suggest would actually reduce your rank not increase it, as Google penalise you for using redirects which is what you would have to do.< |
MarcelG |
Posted - 26 July 2006 : 03:05:20 Quick question in return ; why have you posted this in the 'Current Version (Old)' forum ? Do you need this for an old version of Snitz?< |
|
|