Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - rel="nofollow"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

rel="nofollow"

 Post Reply Post Reply Page  <123>
Author
mysavings.com View Drop Down
Newbie
Newbie


Joined: 24 January 2008
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote mysavings.com Quote  Post ReplyReply Direct Link To This Post Posted: 29 January 2009 at 1:52pm

Thanks!

Is there a database column or way that I can update all older posts to have the nofollow attribute?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 January 2009 at 5:58pm
There isn't.

The only way would be to read in every single posts, parse each link within the posts and save them back to the database. It would be allot of work and could course all sorts of issues.
Back to Top
mysavings.com View Drop Down
Newbie
Newbie


Joined: 24 January 2008
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote mysavings.com Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2009 at 9:03pm
I noticed that WWF actually inserts 'rel="no follow' with the flag is set to true.  I did some research, and it turns out that it should be 'rel="nofollow"' (with no space)!!
 
 
So I used a sql cursor and went in and removed all of the rel="no follow" tags from my messages, and then I set the flag back to false, and just added a line of code in forum_posts.asp to manually add it as all message are read.
 
' if the post contains a link, then add nofollow tag to it.
If InStr(1,strMessage, "target=""_blank""",1) then strMessage = replace(strMessage,"target=""_blank""","target=""_blank"" rel=""nofollow""")
 
That's much cleaner in my opinion, so that it doesn't have to be stored in the database, which is alot harder to work with, especially with "text" datatypes.
 
Hope that helps!
 
MySav
Back to Top
rchrd View Drop Down
Newbie
Newbie


Joined: 31 May 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote rchrd Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2009 at 11:31am
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

This is already an option in the includes/setup_options_inc.asp file. Edit this file in notepad to add and change the following around line 110:-

Const blnNoFollowTagInLinks = False

To:

Const blnNoFollowTagInLinks = True

This will then add nofollow to any new links posted in your forum and also place this on any homepages that your members enter.

This will be an option from the admin area in version 10.
Can the 'nofollow' tag be applied to forum members' signatures?
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2009 at 12:43pm
Yes, the tag is set to signatures as well as posts.
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
rchrd View Drop Down
Newbie
Newbie


Joined: 31 May 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote rchrd Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2009 at 3:03pm
Originally posted by Scotty32 Scotty32 wrote:

Yes, the tag is set to signatures as well as posts.
Actually Matt, if you check the source of this webpage, you will notice that neither of the two URLs in your signature include the 'nofollow' tag. This was why I asked the question! Smile
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2009 at 3:38pm
The nofollow tag is only applied to new content added to the forum, so it will only be added to new signatures and edited signatures once it is enabled as the nofollow tag is added to signatures and posts when they are saved.
Back to Top
rchrd View Drop Down
Newbie
Newbie


Joined: 31 May 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote rchrd Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2009 at 7:42am
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

The nofollow tag is only applied to new content added to the forum, so it will only be added to new signatures and edited signatures once it is enabled as the nofollow tag is added to signatures and posts when they are saved.
So, if Matt just re-saves his signature in his control panel, the 'nofollow' tag will become inserted into the code? Correct?

The signature code currently appears as follows:
<div class="msgSignature">
                           S2H.co.uk - <a href="http://www.s2h.co.uk/wwf/"
                             target="_blank">WebWiz Mods and Skins</a>
                 <br />MyCountry.co.uk - <a href="http://www.mycountry.co.uk"
                             target
="_blank">Interactive, online database for the UK</a>
          </div>

Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.